1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-05-24 23:14:06 +02:00
This commit is contained in:
syuilo
2025-08-26 09:08:00 +09:00
parent 120af977a9
commit 9e5c8d94bf
14 changed files with 39 additions and 32 deletions

View File

@@ -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>