feat(web): use new manage permission in checks

This commit is contained in:
Ali BARIN
2025-04-01 13:56:28 +00:00
parent f4c7ca3e7f
commit 8b1ed54d54
6 changed files with 13 additions and 13 deletions

View File

@@ -168,7 +168,7 @@ export default function Flows() {
{!isLoading && !navigateToLastPage && !hasFlows && (
<NoResultFound
text={formatMessage('flows.noFlows')}
{...(currentUserAbility.can('create', 'Flow') && {
{...(currentUserAbility.can('manage', 'Flow') && {
to: URLS.CREATE_FLOW,
})}
/>