enhance(frontend): migrate overridedDeviceKind to preference
This commit is contained in:
parent
27e8805dcb
commit
c9c04d8391
6 changed files with 12 additions and 7 deletions
|
|
@ -81,10 +81,6 @@ export const store = markRaw(new Storage('base', {
|
|||
},
|
||||
},
|
||||
},
|
||||
overridedDeviceKind: {
|
||||
where: 'device',
|
||||
default: null as DeviceKind | null,
|
||||
},
|
||||
darkMode: {
|
||||
where: 'device',
|
||||
default: false,
|
||||
|
|
@ -153,6 +149,10 @@ export const store = markRaw(new Storage('base', {
|
|||
data: Record<string, any>;
|
||||
}[],
|
||||
},
|
||||
overridedDeviceKind: {
|
||||
where: 'device',
|
||||
default: null as DeviceKind | null,
|
||||
},
|
||||
defaultSideView: {
|
||||
where: 'device',
|
||||
default: false,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue