resolved merge conflict

This commit is contained in:
ArnabChatterjee20k
2025-08-18 10:21:51 +05:30
parent 82bc6dbde0
commit c7a228c235
+22
View File
@@ -314,6 +314,28 @@ function createPreferences() {
n.miscellaneous[key] = value;
return n;
});
},
getFilePickerPreferences() {
return (
preferences?.filePicker ?? {
lastSelectedBucket: null
}
);
},
async setFilePickerPreferences(prefs: ConsolePreferences['filePicker']) {
await updateAndSync((n) => {
if (!n?.filePicker) {
n ??= {};
n.filePicker ??= {};
}
n.filePicker = {
...n.filePicker,
...prefs
};
return n;
});
}
};
}