feat(web): use new manage permission in checks
This commit is contained in:
@@ -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,
|
||||
})}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user