update quasar
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
@@ -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()
|
||||
|
||||
@@ -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()
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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) {
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user