refactor(frontend): rename pizzax fields
This commit is contained in:
@@ -128,7 +128,7 @@ async function ok() {
|
||||
dialogEl.value?.close();
|
||||
|
||||
// 最近使ったユーザー更新
|
||||
let recents = store.state.recentlyUsedUsers;
|
||||
let recents = store.s.recentlyUsedUsers;
|
||||
recents = recents.filter(x => x !== selected.value?.id);
|
||||
recents.unshift(selected.value.id);
|
||||
store.set('recentlyUsedUsers', recents.splice(0, 16));
|
||||
@@ -141,7 +141,7 @@ function cancel() {
|
||||
|
||||
onMounted(() => {
|
||||
misskeyApi('users/show', {
|
||||
userIds: store.state.recentlyUsedUsers,
|
||||
userIds: store.s.recentlyUsedUsers,
|
||||
}).then(foundUsers => {
|
||||
let _users = foundUsers;
|
||||
_users = _users.filter((u) => {
|
||||
|
Reference in New Issue
Block a user