fix(frontend): fix save button not showing up when deleting custom preferences (fixes #55)
This commit is contained in:
parent
848d0787a5
commit
bb3d56f548
|
@ -146,6 +146,8 @@
|
|||
};
|
||||
|
||||
const customPreferencesEqual = (obj1: CustomPreferences, obj2: CustomPreferences) => {
|
||||
if (Object.keys(obj2).some((key) => !(key in obj1))) return false;
|
||||
|
||||
return Object.keys(obj1)
|
||||
.map((key) => {
|
||||
if (!(key in obj2)) return false;
|
||||
|
|
Loading…
Reference in New Issue