Base solution for your next web application
Open Closed

User Notification Settings Modal Null (fix in comment) #6222


User avatar
0
blueoceandev created

I have noticed that in app.component.ts the userNotificationHelper.settingModal is being set in ngOnInit(). This can cause the modal to be set to null on occation depending on how far the view has rendered.. Moving the line to ngAfterViewInit() may remove the risk of the modal not being available.


1 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @catapult,

    You are right. I will create an issue on https://github.com/aspnetzero/aspnet-zero-core/issues and let you know.

    Thanks,