mirror of
https://github.com/strapi/strapi.git
synced 2025-09-26 17:00:55 +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 (
|
if (
|
||||||
uid === 'admin::workflow' ||
|
uid === 'admin::workflow' ||
|
||||||
uid === 'admin::workflow-stage' ||
|
uid === 'admin::workflow-stage' ||
|
||||||
endPath.startsWith('strapi_reviewWorkflows_')
|
endPath?.startsWith('strapi_reviewWorkflows_')
|
||||||
) {
|
) {
|
||||||
workflowsStatus = diff.kind;
|
workflowsStatus = diff.kind;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user