1
0
mirror of https://github.com/koloml/furbooru-tagging-assistant.git synced 2025-12-24 07:12:57 +00:00

Fixed check for active profile on the tools container

This commit is contained in:
2024-04-09 01:26:15 +04:00
parent 0d2d175cf9
commit c6ae064c90

View File

@@ -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);
}
/**