1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-05-03 14:56:16 +02:00

refactor(frontend): rename pizzax fields

This commit is contained in:
syuilo
2025-03-10 10:51:54 +09:00
parent 16ad6b3f6c
commit 08f7e7d9b3
50 changed files with 243 additions and 236 deletions

View File

@@ -22,7 +22,7 @@ type StoreEvent<Data extends Record<string, any>> = {
export class Store<Data extends Record<string, any>> extends EventEmitter<StoreEvent<Data>> {
/**
* static の略 (static が予約語のため)
* static / state の略 (static が予約語のため)
*/
public s = {} as {
[K in keyof Data]: Data[K];

View File

@@ -21,7 +21,7 @@ function canAutoBackup() {
}
export function getPreferencesProfileMenu(): MenuItem[] {
const autoBackupEnabled = ref(store.state.enablePreferencesAutoCloudBackup);
const autoBackupEnabled = ref(store.s.enablePreferencesAutoCloudBackup);
watch(autoBackupEnabled, () => {
if (autoBackupEnabled.value) {