Refactor ZenKeyboardShortcuts.mjs to rebuild shortcuts if data is missing

This commit is contained in:
mr. M 2024-10-18 18:19:53 +02:00
parent d567e18216
commit ed83f5952e
No known key found for this signature in database
GPG key ID: CBD57A2AEDBDA1FB

View file

@ -739,7 +739,7 @@ class ZenKeyboardShortcutsVersioner {
migrateIfNeeded(data) {
if (!data) {
// Rebuid the shortcuts
// Rebuid the shortcuts, just in case
this.version = 0;
}