Skip to content

Commit

Permalink
Merge pull request #7214 from JeethJJ/internal-27840
Browse files Browse the repository at this point in the history
Fix unable to update email template
  • Loading branch information
JeethJJ authored Dec 17, 2024
2 parents cc83c3a + d776a6a commit 79a99a2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .changeset/fuzzy-emus-explode.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@wso2is/admin.email-management.v1": patch
"@wso2is/console": patch
---

Fix unable to update email template.
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ const EmailCustomizationPage: FunctionComponent<EmailCustomizationPageInterface>
return !isFeatureEnabled(
emailTemplatesFeatureConfig,
EmailManagementConstants.FEATURE_DICTIONARY.get("EMAIL_TEMPLATES_UPDATE")
) || hasUsersUpdateEmailTemplatesPermissions;
) || !hasUsersUpdateEmailTemplatesPermissions;
}, [ emailTemplatesFeatureConfig, allowedScopes ]);

const hasEmailTemplateCreatePermissions: boolean = useMemo(() => {
Expand Down

0 comments on commit 79a99a2

Please sign in to comment.