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

Fixed #15779 - Closing nested dialog removes CSS class still needed f… #15845

Merged
merged 2 commits into from
Jun 27, 2024

Conversation

mehmetcetin01140
Copy link
Contributor

Fixes #15779

Copy link

vercel bot commented Jun 14, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
primeng ⬜️ Ignored (Inspect) Visit Preview Jun 27, 2024 0:37am

Copy link

Thanks a lot for your contribution! But, PR does not seem to fit our code format standards. Please run the 'npm run format' command and commit the changes.

@@ -266,6 +267,13 @@ export class DynamicDialogComponent implements AfterViewInit, OnDestroy {
return this.config?.templates?.closeicon;
}

get dynamicDialogCount() {
let dynamicDialogs = this.document.querySelectorAll('p-dynamicdialog');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can use const instead of let because the variables will not be reasigned

@cetincakiroglu cetincakiroglu merged commit a3af939 into master Jun 27, 2024
2 of 3 checks passed
@cetincakiroglu cetincakiroglu deleted the issue-15779 branch June 27, 2024 12:38
Copy link

Thanks a lot for your contribution! But, PR does not seem to fit our code format standards. Please run the 'npm run format' command and commit the changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Closing nested dialog removes CSS class still needed for parent dialog
3 participants