Skip to content
This repository has been archived by the owner on Oct 5, 2023. It is now read-only.

Commit

Permalink
fix: related reports number logic (#921)
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenyh3 authored Jul 21, 2023
1 parent 2eca00e commit fb062dd
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion frontend/src/metadata/cells/SliceCell.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,11 @@
? "s"
: ""}. Continue?</Content>
<Actions>
<Button on:click={() => (confirmDelete = false)}>
<Button
on:click={() => {
confirmDelete = false;
relatedReports = 0;
}}>
<Label>No</Label>
</Button>
<Button use={[InitialFocus]} on:click={() => removeSlice()}>
Expand Down

0 comments on commit fb062dd

Please sign in to comment.