This commit is contained in:
Paolo Arena
2021-01-18 00:48:53 +01:00
parent 9828f4818a
commit d02044ae17
49 changed files with 1318 additions and 142 deletions

View File

@@ -9,6 +9,8 @@ import { fieldsTable } from '@src/store/Modules/fieldsTable'
import { CalendarStore } from '@store'
import MixinMetaTags from '@src/mixins/mixin-metatags'
import { shared_consts } from '../common/shared_vuejs'
// You can declare a mixin as the same style as components.
@Component
export default class MixinBase extends MixinMetaTags {
@@ -36,6 +38,10 @@ export default class MixinBase extends MixinMetaTags {
return tools
}
get shared_consts() {
return shared_consts
}
public getValDb(keystr, serv, def?, table?, subkey?, id?) {
return tools.getValDb(keystr, serv, def, table, subkey, id)

View File

@@ -70,7 +70,7 @@ export default class MixinUsers extends Vue {
get getMyImgforIcon() {
const ris = UserStore.getters.getImgByUsername(UserStore.state.my.username)
return (ris !== '') ? 'img:statics/' + ris : 'fas fa-user-circle'
return (ris !== '') ? 'img:statics/' + ris : 'fas fa-user'
}
get getIconCart() {