refactor(client): Use symbol
This commit is contained in:
@@ -41,6 +41,7 @@ import FormGroup from '@client/components/form/group.vue';
|
||||
import { deckStore } from '@client/ui/deck/deck-store';
|
||||
import * as os from '@client/os';
|
||||
import { unisonReload } from '@client/scripts/unison-reload';
|
||||
import * as symbols from '@client/symbols';
|
||||
|
||||
export default defineComponent({
|
||||
components: {
|
||||
@@ -56,7 +57,7 @@ export default defineComponent({
|
||||
|
||||
data() {
|
||||
return {
|
||||
INFO: {
|
||||
[symbols.PAGE_INFO]: {
|
||||
title: this.$ts.deck,
|
||||
icon: faColumns
|
||||
},
|
||||
@@ -87,7 +88,7 @@ export default defineComponent({
|
||||
},
|
||||
|
||||
mounted() {
|
||||
this.$emit('info', this.INFO);
|
||||
this.$emit('info', this[symbols.PAGE_INFO]);
|
||||
},
|
||||
|
||||
methods: {
|
||||
|
Reference in New Issue
Block a user