# האם יש דרך להאזין לאירוע כניסת משתמש באמצעות רכיב Theme

**URL:** <https://meta.discourse.org/t/is-there-any-way-to-listen-user-login-event-using-theme-component/170976>\
**Category:** Development\
**Created:** [23 בנובמבר,‏ 2020,‏ 4:30am UTC](https://meta.discourse.org/t/is-there-any-way-to-listen-user-login-event-using-theme-component/170976 "2020-11-23T04:30:14Z")\
**Posts on this page:** 1\
**Showing post:** 16

<div class="post-metadata">

**Author:** ![Saurabh\_Khandelwal](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/saurabh_khandelwal/32/156332_2.png) [@Saurabh\_Khandelwal](https://meta.discourse.org/u/Saurabh_Khandelwal)\
**Post date:** [28 בדצמבר,‏ 2020,‏ 5:02am UTC](https://meta.discourse.org/t/is-there-any-way-to-listen-user-login-event-using-theme-component/170976/16 "2020-12-28T05:02:12Z")

</div>

> [@Johani](#):
>
> ```plaintext
> api.decorateWidget("header-notifications:before", helper => {
> if (!helper.attrs.active && helper.attrs.ringBackdrop) {
> return helper.attach("welcome-popup", helper.attrs);
> }
> });
> 
> ```

Hi @Johani as you loaded the welcome-popup widget before the header-notifications widget it seems that Discobot notification is not loaded and also after clicking on the Links within welcome-popup again welcome-popup is display to the user.  
I have tested it by loading the welcome-popup widget after the header-notifications widget that works fine, So can I change it to “header-notifications:after”

---

_[View the full topic](https://meta.discourse.org/t/is-there-any-way-to-listen-user-login-event-using-theme-component/170976)._
