summaryrefslogtreecommitdiff
path: root/packages/frontend/src/pages/my-lists
diff options
context:
space:
mode:
authorsyuilo <4439005+syuilo@users.noreply.github.com>2025-08-26 09:08:00 +0900
committersyuilo <4439005+syuilo@users.noreply.github.com>2025-08-26 09:08:00 +0900
commit9e5c8d94bff0352bca3b15fd75a7c6ccaa1df2ff (patch)
treee6e86b8b5297d615890ce2f35692d95c78e3fd9e /packages/frontend/src/pages/my-lists
parentrefactoe (diff)
downloadmisskey-9e5c8d94bff0352bca3b15fd75a7c6ccaa1df2ff.tar.gz
misskey-9e5c8d94bff0352bca3b15fd75a7c6ccaa1df2ff.tar.bz2
misskey-9e5c8d94bff0352bca3b15fd75a7c6ccaa1df2ff.zip
refactor
Diffstat (limited to 'packages/frontend/src/pages/my-lists')
-rw-r--r--packages/frontend/src/pages/my-lists/index.vue10
1 files changed, 5 insertions, 5 deletions
diff --git a/packages/frontend/src/pages/my-lists/index.vue b/packages/frontend/src/pages/my-lists/index.vue
index 0933618f54..43d5432f66 100644
--- a/packages/frontend/src/pages/my-lists/index.vue
+++ b/packages/frontend/src/pages/my-lists/index.vue
@@ -40,11 +40,11 @@ const $i = ensureSignin();
const items = computed(() => userListsCache.value.value ?? []);
-function fetch() {
+function _fetch_() {
userListsCache.fetch();
}
-fetch();
+_fetch_();
async function create() {
const { canceled, result: name } = await os.inputText({
@@ -53,7 +53,7 @@ async function create() {
if (canceled || name == null) return;
await os.apiWithDialog('users/lists/create', { name: name });
userListsCache.delete();
- fetch();
+ _fetch_();
}
const headerActions = computed(() => [{
@@ -62,7 +62,7 @@ const headerActions = computed(() => [{
text: i18n.ts.reload,
handler: () => {
userListsCache.delete();
- fetch();
+ _fetch_();
},
}]);
@@ -74,7 +74,7 @@ definePage(() => ({
}));
onActivated(() => {
- fetch();
+ _fetch_();
});
</script>