mirror of
https://github.com/strapi/strapi.git
synced 2025-09-25 16:29:34 +00:00
handle cases with empty path
This commit is contained in:
parent
4296a4149e
commit
35bcad0ae7
@ -291,7 +291,7 @@ const getDiffHandler = (engine, { force, action }) => {
|
||||
if (
|
||||
uid === 'admin::workflow' ||
|
||||
uid === 'admin::workflow-stage' ||
|
||||
endPath.startsWith('strapi_reviewWorkflows_')
|
||||
endPath?.startsWith('strapi_reviewWorkflows_')
|
||||
) {
|
||||
workflowsStatus = diff.kind;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user