ensure dialog closes after positive cache deletion confirmation (#3664)
This commit is contained in:
@@ -855,6 +855,7 @@ function Workspace({
|
|||||||
onClick={async () => {
|
onClick={async () => {
|
||||||
workflowChangesStore.setSaidOkToCodeCacheDeletion(true);
|
workflowChangesStore.setSaidOkToCodeCacheDeletion(true);
|
||||||
await handleOnSave();
|
await handleOnSave();
|
||||||
|
workflowChangesStore.setShowConfirmCodeCacheDeletion(false);
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
Yes
|
Yes
|
||||||
|
|||||||
Reference in New Issue
Block a user