mirror of
https://github.com/koloml/furbooru-tagging-assistant.git
synced 2025-12-24 07:12:57 +00:00
Fixed profile not being refreshed after initial page load
This commit is contained in:
@@ -286,7 +286,13 @@ export class MaintenancePopup extends BaseComponent {
|
||||
|
||||
this.#maintenanceSettings
|
||||
.resolveActiveProfileAsObject()
|
||||
.then(callback);
|
||||
.then(profileOrNull => {
|
||||
if (profileOrNull) {
|
||||
lastActiveProfileId = profileOrNull.id;
|
||||
}
|
||||
|
||||
callback(profileOrNull);
|
||||
});
|
||||
|
||||
return () => {
|
||||
unsubscribeFromProfilesChanges();
|
||||
|
||||
Reference in New Issue
Block a user