Skip to content

Commit

Permalink
Hide delete on new
Browse files Browse the repository at this point in the history
  • Loading branch information
noam-honig committed Jul 6, 2023
1 parent c2782ab commit f160c14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/cfp-dialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ export default function CfpDialog({
connotation="success"
onClick={save}
></vwc-button>
{cfpRepo.metadata.apiDeleteAllowed(cfp) && (
{!createNew && cfpRepo.metadata.apiDeleteAllowed(cfp) && (
<vwc-button
connotation="alert"
appearance="filled"
Expand Down

0 comments on commit f160c14

Please sign in to comment.