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:
@@ -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];
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user