mirror of
https://iceshrimp.dev/crimekillz/iceshrimp-161sh.git
synced 2024-11-22 12:13:48 +01:00
Fix #6832
This commit is contained in:
parent
d0bc4a5554
commit
1b6a1e8dd6
@ -253,7 +253,7 @@ export const store = createStore({
|
||||
|
||||
init(state, x) {
|
||||
for (const [key, value] of Object.entries(defaultDeviceUserSettings)) {
|
||||
if (x[key]) {
|
||||
if (Object.prototype.hasOwnProperty.call(x, key)) {
|
||||
state[key] = x[key];
|
||||
} else {
|
||||
state[key] = value;
|
||||
@ -471,7 +471,7 @@ export const store = createStore({
|
||||
|
||||
init(state, x) {
|
||||
for (const [key, value] of Object.entries(defaultSettings)) {
|
||||
if (x[key]) {
|
||||
if (Object.prototype.hasOwnProperty.call(x, key)) {
|
||||
state[key] = x[key];
|
||||
} else {
|
||||
state[key] = value;
|
||||
|
Loading…
Reference in New Issue
Block a user