Skip to content

Commit

Permalink
Remove ability to cancel Asset Panel forms
Browse files Browse the repository at this point in the history
  • Loading branch information
somebody1234 committed Oct 8, 2024
1 parent 0c6be99 commit 9651a9e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/dashboard/src/layouts/AssetProperties.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ export default function AssetProperties(props: AssetPropertiesProps) {
</aria.Heading>
<UpsertSecretModal
noDialog
canReset
canReset={false}
canCancel={false}
id={item.item.id}
name={item.item.title}
Expand Down Expand Up @@ -373,7 +373,6 @@ export default function AssetProperties(props: AssetPropertiesProps) {
{canEditThisAsset && (
<ariaComponents.ButtonGroup>
<ariaComponents.Form.Submit action="update" />
<ariaComponents.Form.Reset action="cancel" />
</ariaComponents.ButtonGroup>
)}
</>
Expand Down

0 comments on commit 9651a9e

Please sign in to comment.