diff --git a/packages/main/src/ShellBar.js b/packages/main/src/ShellBar.js index 51d592ec1e54..69e3b1b66c01 100644 --- a/packages/main/src/ShellBar.js +++ b/packages/main/src/ShellBar.js @@ -609,7 +609,9 @@ class ShellBar extends WebComponent { } _handleNotificationsPress(event) { - this.fireEvent("notificationsPress"); + this.fireEvent("notificationsPress", { + iconRef: this.shadowRoot.querySelector(".sapWCShellBarBellIcon"), + }); } _handleProfilePress(event) { @@ -620,7 +622,7 @@ class ShellBar extends WebComponent { _handleProductSwitchPress(event) { this.fireEvent("productSwitchPress", { - detail: this.shadowRoot.querySelector(".sapWCShellBarIconProductSwitch"), + iconRef: this.shadowRoot.querySelector(".sapWCShellBarIconProductSwitch"), }); }