Skip to content

Commit

Permalink
update modules and template reference delete modal (#651)
Browse files Browse the repository at this point in the history
* update modules and template reference delete modal

* update requested changes
  • Loading branch information
Wasiim105 authored Oct 25, 2024
1 parent d8d1494 commit 6acf5e7
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
6 changes: 5 additions & 1 deletion cyclops-ui/src/components/pages/ModuleDetails.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -616,7 +616,11 @@ const ModuleDetails = () => {
onResourceDelete={fetchModuleResources}
/>
<Modal
title={`Delete module ${moduleName}`}
title={
<>
Delete module <span style={{ color: "red" }}>{moduleName}</span>
</>
}
open={loading}
onCancel={handleCancel}
width={"40%"}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -669,7 +669,11 @@ const TemplateStore = () => {
</Form>
</Modal>
<Modal
title="Delete template ref"
title={
<>
Delete template reference <span style={{ color: "red" }}>{confirmDelete}</span>
</>
}
open={confirmDelete.length > 0}
onCancel={handleCancelDeleteModal}
width={"40%"}
Expand Down

0 comments on commit 6acf5e7

Please sign in to comment.