diff --git a/src/lib/components/MediaBoxTools.js b/src/lib/components/MediaBoxTools.js index 5b931ec..53430b0 100644 --- a/src/lib/components/MediaBoxTools.js +++ b/src/lib/components/MediaBoxTools.js @@ -38,10 +38,10 @@ export class MediaBoxTools extends BaseComponent { } /** - * @param {MaintenanceProfile|null} activeProfile + * @param {CustomEvent} profileChangedEvent */ - #onActiveProfileChanged(activeProfile) { - this.container.classList.toggle('has-active-profile', activeProfile !== null); + #onActiveProfileChanged(profileChangedEvent) { + this.container.classList.toggle('has-active-profile', profileChangedEvent.detail !== null); } /**