-
Notifications
You must be signed in to change notification settings - Fork 467
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(announcements): directive update handling of nonexistent feature flags #27709
fix(announcements): directive update handling of nonexistent feature flags #27709
Conversation
core-web/libs/data-access/src/lib/dot-properties/dot-properties.service.ts
Outdated
Show resolved
Hide resolved
...dotcms-ui/src/app/shared/directives/dot-show-hide-feature/dot-show-hide-feature.directive.ts
Outdated
Show resolved
Hide resolved
core-web/libs/data-access/src/lib/dot-properties/dot-properties.service.ts
Outdated
Show resolved
Hide resolved
P.S.: This is what I understand from the issue. |
Maybe we can find another name to it. My concern is that |
...dotcms-ui/src/app/shared/directives/dot-show-hide-feature/dot-show-hide-feature.directive.ts
Outdated
Show resolved
Hide resolved
core-web/libs/data-access/src/lib/dot-properties/dot-properties.service.spec.ts
Show resolved
Hide resolved
core-web/libs/data-access/src/lib/dot-properties/dot-properties.service.ts
Show resolved
Hide resolved
…tent-feature-flags
Quality Gate passedIssues Measures |
…flags (dotCMS#27709) * dotCMS#27708 Updating directive * dotCMS#27708 Updating directive * dotCMS#27708 PR feedback * dotCMS#27708 PR feedback * dotCMS#27708 PR feedback * dotCMS#27708 PR feedback * Adding feature flag
Proposed Changes
This pull request updates the feature flag directive to accommodate scenarios where the flag is not explicitly specified. In such cases, the directive now defaults to displaying the content.
Checklist
Additional Info
** any additional useful context or info **
Screenshots