diff options
| author | syuilo <Syuilotan@yahoo.co.jp> | 2021-04-10 12:54:12 +0900 |
|---|---|---|
| committer | syuilo <Syuilotan@yahoo.co.jp> | 2021-04-10 12:54:12 +0900 |
| commit | 45e5d8935362dc19d61ede2cfccadd2f4be42003 (patch) | |
| tree | 1e3190210a5adb7c88ab7a13bae85102eddbd783 /src/client/pages/settings/plugin.install.vue | |
| parent | Default UI redesign (#7429) (diff) | |
| download | sharkey-45e5d8935362dc19d61ede2cfccadd2f4be42003.tar.gz sharkey-45e5d8935362dc19d61ede2cfccadd2f4be42003.tar.bz2 sharkey-45e5d8935362dc19d61ede2cfccadd2f4be42003.zip | |
refactor(client): Use symbol
Diffstat (limited to 'src/client/pages/settings/plugin.install.vue')
| -rw-r--r-- | src/client/pages/settings/plugin.install.vue | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/client/pages/settings/plugin.install.vue b/src/client/pages/settings/plugin.install.vue index 70c302b36e..ecda0a4e0c 100644 --- a/src/client/pages/settings/plugin.install.vue +++ b/src/client/pages/settings/plugin.install.vue @@ -29,6 +29,7 @@ import MkInfo from '@client/components/ui/info.vue'; import * as os from '@client/os'; import { ColdDeviceStorage } from '@client/store'; import { unisonReload } from '@client/scripts/unison-reload'; +import * as symbols from '@client/symbols'; export default defineComponent({ components: { @@ -46,7 +47,7 @@ export default defineComponent({ data() { return { - INFO: { + [symbols.PAGE_INFO]: { title: this.$ts._plugin.install, icon: faDownload }, @@ -56,7 +57,7 @@ export default defineComponent({ }, mounted() { - this.$emit('info', this.INFO); + this.$emit('info', this[symbols.PAGE_INFO]); }, methods: { |