Added Button.

Stats
This commit is contained in:
Surya Paolo
2022-12-14 13:13:28 +01:00
parent 97b0a72bb0
commit bd0eab53ae
64 changed files with 321 additions and 136 deletions

View File

@@ -5987,7 +5987,9 @@ export const tools = {
if (tipovis === tools.TIPOVIS_NEW_RECORD) {
check = check && tools.isBitActive(col.showWhen, costanti.showWhen.NewRec)
} else if (tipovis === tools.TIPOVIS_EDIT_RECORD) {
check = check && tools.isBitActive(col.showWhen, costanti.showWhen.InEdit)
const globalStore = useGlobalStore()
check = check && tools.isBitActive(col.showWhen, costanti.showWhen.InEdit) || (tools.isAdmin() && globalStore.editOn)
} else if (tipovis === tools.TIPOVIS_SHOW_RECORD) {
if (tools.isBitActive(col.showWhen, costanti.showWhen.InView_OnlyifExist)) {
check = check && valuePresent && valuePresent !== costanti.FILTER_NESSUNO
@@ -7303,7 +7305,7 @@ export const tools = {
}
for (let myfont of shared_consts.FontsInstalled) {
document.body.classList.remove(myfont.value)
document.body.classList.remove(myfont.value.toString())
}
if (globalStore.site?.confpages && globalStore.site.confpages.font) {