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/my-lists | |
| parent | Default UI redesign (#7429) (diff) | |
| download | misskey-45e5d8935362dc19d61ede2cfccadd2f4be42003.tar.gz misskey-45e5d8935362dc19d61ede2cfccadd2f4be42003.tar.bz2 misskey-45e5d8935362dc19d61ede2cfccadd2f4be42003.zip | |
refactor(client): Use symbol
Diffstat (limited to 'src/client/pages/my-lists')
| -rw-r--r-- | src/client/pages/my-lists/index.vue | 3 | ||||
| -rw-r--r-- | src/client/pages/my-lists/list.vue | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/client/pages/my-lists/index.vue b/src/client/pages/my-lists/index.vue index bbb2192aa1..e680b90d1a 100644 --- a/src/client/pages/my-lists/index.vue +++ b/src/client/pages/my-lists/index.vue @@ -16,6 +16,7 @@ import { faListUl, faPlus } from '@fortawesome/free-solid-svg-icons'; import MkPagination from '@client/components/ui/pagination.vue'; import MkButton from '@client/components/ui/button.vue'; import * as os from '@client/os'; +import * as symbols from '@client/symbols'; export default defineComponent({ components: { @@ -25,7 +26,7 @@ export default defineComponent({ data() { return { - INFO: { + [symbols.PAGE_INFO]: { title: this.$ts.manageLists, icon: faListUl, action: { diff --git a/src/client/pages/my-lists/list.vue b/src/client/pages/my-lists/list.vue index dcaae222cc..285c48695a 100644 --- a/src/client/pages/my-lists/list.vue +++ b/src/client/pages/my-lists/list.vue @@ -38,6 +38,7 @@ import { faTimes, faListUl } from '@fortawesome/free-solid-svg-icons'; import Progress from '@client/scripts/loading'; import MkButton from '@client/components/ui/button.vue'; import * as os from '@client/os'; +import * as symbols from '@client/symbols'; export default defineComponent({ components: { @@ -46,7 +47,7 @@ export default defineComponent({ data() { return { - INFO: computed(() => this.list ? { + [symbols.PAGE_INFO]: computed(() => this.list ? { title: this.list.name, icon: faListUl, } : null), |