mirror of
https://github.com/koloml/philomena-tagging-assistant.git
synced 2026-11-07 16:18:19 +00:00
Added missing logic for subscribing to the maintenance settings changes
This commit is contained in:
1 parent
8026f16b23
commit
758a370d0a
1 file changed
+4
-2
@@ -81,7 +81,9 @@ export default class MaintenanceSettings {
|
||||
*/
|
||||
static subscribe(callback) {
|
||||
return MaintenanceSettings.#controller.subscribeToChanges(settings => {
|
||||
|
||||
callback({
|
||||
activeProfileId: settings.activeProfile || null,
|
||||
});
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user