File tree Expand file tree Collapse file tree 5 files changed +6
-6
lines changed
packages/app/src/app/pages
Sandbox/Editor/Workspace/Files/DirectoryEntry
DeleteProfileSandboxModal Expand file tree Collapse file tree 5 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -268,7 +268,7 @@ class DirectoryEntry extends React.Component {
268268 </ span >
269269 }
270270 onCancel = { this . closeModals }
271- onDelete = { ( ) => {
271+ onConfirm = { ( ) => {
272272 this . setState ( {
273273 showDeleteDirectoryModal : false ,
274274 } ) ;
@@ -329,7 +329,7 @@ class DirectoryEntry extends React.Component {
329329 </ span >
330330 }
331331 onCancel = { this . closeModals }
332- onDelete = { ( ) => {
332+ onConfirm = { ( ) => {
333333 this . setState ( {
334334 showDeleteModuleModal : false ,
335335 } ) ;
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ function DeleteDeploymentModal({ signals }) {
88 title = "Delete Deployment"
99 body = { < span > Are you sure you want to delete this Deployment?</ span > }
1010 onCancel = { ( ) => signals . modalClosed ( ) }
11- onDelete = { ( ) => signals . deployment . deleteDeployment ( ) }
11+ onConfirm = { ( ) => signals . deployment . deleteDeployment ( ) }
1212 />
1313 ) ;
1414}
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ function DeleteProfileSandboxModal({ signals }) {
88 title = "Delete Sandbox"
99 body = { < span > Are you sure you want to delete this sandbox?</ span > }
1010 onCancel = { ( ) => signals . modalClosed ( ) }
11- onDelete = { ( ) => signals . profile . sandboxDeleted ( ) }
11+ onConfirm = { ( ) => signals . profile . sandboxDeleted ( ) }
1212 />
1313 ) ;
1414}
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ function DeleteSandboxModal({ signals }) {
88 title = "Delete Sandbox"
99 body = { < span > Are you sure you want to delete this sandbox?</ span > }
1010 onCancel = { ( ) => signals . modalClosed ( ) }
11- onDelete = { ( ) => signals . workspace . sandboxDeleted ( ) }
11+ onConfirm = { ( ) => signals . workspace . sandboxDeleted ( ) }
1212 />
1313 ) ;
1414}
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ function EmptyTrash({ signals, store }) {
1414 </ span >
1515 }
1616 onCancel = { ( ) => signals . modalClosed ( ) }
17- onDelete = { async ( ) => {
17+ onConfirm = { async ( ) => {
1818 await permanentlyDeleteSandboxes ( store . dashboard . trashSandboxIds ) ;
1919 signals . modalClosed ( ) ;
2020 } }
You can’t perform that action at this time.
0 commit comments