Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(modal.service): verify the subject is not undefined when checking if a modal exists #225

Merged
merged 1 commit into from
Sep 20, 2024

Conversation

WHeirstrate
Copy link
Contributor

When the first ever modal is opened, the subject has not yet been initialised. It will therefore never open and aways throw the warning, as !undefined?.close is always true.

Screenshot 2024-09-20 at 11 49 16

@WHeirstrate WHeirstrate added bug Something isn't working ngx-inform labels Sep 20, 2024
@WHeirstrate WHeirstrate added this to the ngx-inform:v18.2.2 milestone Sep 20, 2024
@WHeirstrate WHeirstrate self-assigned this Sep 20, 2024
@WHeirstrate WHeirstrate merged commit d28b70b into master Sep 20, 2024
@WHeirstrate WHeirstrate deleted the fix/ngx-inform/initial-modal-open branch September 20, 2024 09:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working ngx-inform
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants