update quasar

This commit is contained in:
Surya Paolo
2023-09-28 17:12:59 +02:00
parent 2b359d5260
commit bfceb64811
24 changed files with 4109 additions and 4594 deletions

View File

@@ -91,7 +91,7 @@ export const useCalendarStore = defineStore('CalendarStore', {
ris = myarr.reduce((sum, bookedevent) => sum + bookedevent.numpeopleDinnerShared!, 0)
}
return ris!
return ris ? ris : 0
} else {
return 0
}

View File

@@ -46,9 +46,9 @@ import { PayloadMessageTypes } from '@/common'
import { useNotifStore } from '@store/NotifStore'
export interface INotify {
color?: string | 'primary'
color?: string
textColor?: string
icon?: string | ''
icon?: string
}
const { t } = useI18n()

View File

@@ -159,7 +159,7 @@ export const toolsext = {
// this.$q.lang.set(mylang)
},
getValDb(keystr: string, serv: boolean, def?: any, table?: string, subkey?: string, id?: any, idmain?: any, indrec?: number, subsubkey?: string, specialField?: ISpecialField): any | undefined {
getValDb(keystr: string, serv: boolean, def?: any, table?: string, subkey?: string, id?: any, idmain?: any, indrec?: number, subsubkey?: string, specialField?: ISpecialField): any {
const todos = useTodoStore()
const userStore = useUserStore()

View File

@@ -31,6 +31,7 @@ export const useNotifStore = defineStore('NotifStore', {
},
getnotifs_coinsreq: (mystate: INotifState) => (): INotif[] => {
const ctrec = (mystate.last_notifs) ? mystate.last_notifs.slice(0, 20).filter((rec) => rec.typedir === shared_consts.TypeNotifs.TYPEDIR_CIRCUITS && rec.typeid === shared_consts.TypeNotifs.ID_CIRCUIT_SENDCOINSREQ && rec.status === shared_consts.CircuitsNotif.STATUS_NONE) : []
return (ctrec)

View File

@@ -270,7 +270,7 @@ export const useProjectStore = defineStore({
idparent = tipovisuproj.id_parent!
proj = tipovisuproj
}
return tipovisuproj!.tipovisu
return tipovisuproj ? tipovisuproj.tipovisu : null
},
getarrByCategory(category: string) {

View File

@@ -385,7 +385,7 @@ export const useGlobalStore = defineStore('GlobalStore', {
}
},
getValueSettingsByKey(key: any, serv: any): any | undefined {
getValueSettingsByKey(key: any, serv: any): any {
const myrec = this.getrecSettingsByKey(key, serv)
// console.log('getValueSettingsByKey', myrec, 'key=', key, 'srv=', serv)
if (myrec) {