Skip to content

Commit e8e2c24

Browse files
committed
chore(stories): get all additional action buttons
1 parent 37a26ef commit e8e2c24

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

stories/tile-manager.stories.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -835,8 +835,8 @@ function handleMaximizeClick(event: Event) {
835835
currentBtn.setAttribute('aria-label', 'expand');
836836

837837
const additionalButtons =
838-
actionsSlot.querySelectorAll('.additional-action');
839-
additionalButtons.forEach((btn) => btn.remove());
838+
actionsSlot.parentElement?.querySelectorAll('.additional-action');
839+
additionalButtons?.forEach((btn) => btn.remove());
840840
}
841841
}
842842
}

0 commit comments

Comments
 (0)