diff options
| author | syuilo <Syuilotan@yahoo.co.jp> | 2024-01-04 15:30:40 +0900 |
|---|---|---|
| committer | syuilo <Syuilotan@yahoo.co.jp> | 2024-01-04 15:30:40 +0900 |
| commit | ea41cc6ec0f7b79fc753d37b4586abfef87bf23f (patch) | |
| tree | cbbb93dbc3a40f33a998f91051ae630fc5b2fbce /packages/frontend/src/pages/my-lists/list.vue | |
| parent | Merge branch 'develop' of https://github.com/misskey-dev/misskey into develop (diff) | |
| download | misskey-ea41cc6ec0f7b79fc753d37b4586abfef87bf23f.tar.gz misskey-ea41cc6ec0f7b79fc753d37b4586abfef87bf23f.tar.bz2 misskey-ea41cc6ec0f7b79fc753d37b4586abfef87bf23f.zip | |
refactor(frontend): reduce type errors
Diffstat (limited to 'packages/frontend/src/pages/my-lists/list.vue')
| -rw-r--r-- | packages/frontend/src/pages/my-lists/list.vue | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/packages/frontend/src/pages/my-lists/list.vue b/packages/frontend/src/pages/my-lists/list.vue index cf9da02868..482fdcd8f2 100644 --- a/packages/frontend/src/pages/my-lists/list.vue +++ b/packages/frontend/src/pages/my-lists/list.vue @@ -25,7 +25,7 @@ SPDX-License-Identifier: AGPL-3.0-only <MkFolder defaultOpen> <template #label>{{ i18n.ts.members }}</template> - <template #caption>{{ i18n.t('nUsers', { n: `${list.userIds.length}/${$i?.policies['userEachUserListsLimit']}` }) }}</template> + <template #caption>{{ i18n.t('nUsers', { n: `${list.userIds.length}/${$i.policies['userEachUserListsLimit']}` }) }}</template> <div class="_gaps_s"> <MkButton rounded primary style="margin: 0 auto;" @click="addUser()">{{ i18n.ts.addUser }}</MkButton> @@ -66,10 +66,12 @@ import MkSwitch from '@/components/MkSwitch.vue'; import MkFolder from '@/components/MkFolder.vue'; import MkInput from '@/components/MkInput.vue'; import { userListsCache } from '@/cache.js'; -import { $i } from '@/account.js'; +import { signinRequired } from '@/account.js'; import { defaultStore } from '@/store.js'; import MkPagination from '@/components/MkPagination.vue'; +const $i = signinRequired(); + const { enableInfiniteScroll, } = defaultStore.reactiveState; |