mirror of
https://github.com/koloml/furbooru-tagging-assistant.git
synced 2025-12-24 15:12:58 +00:00
Fixed check for active profile on the tools container
This commit is contained in:
@@ -38,10 +38,10 @@ export class MediaBoxTools extends BaseComponent {
|
||||
}
|
||||
|
||||
/**
|
||||
* @param {MaintenanceProfile|null} activeProfile
|
||||
* @param {CustomEvent<MaintenanceProfile|null>} profileChangedEvent
|
||||
*/
|
||||
#onActiveProfileChanged(activeProfile) {
|
||||
this.container.classList.toggle('has-active-profile', activeProfile !== null);
|
||||
#onActiveProfileChanged(profileChangedEvent) {
|
||||
this.container.classList.toggle('has-active-profile', profileChangedEvent.detail !== null);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user