File tree Expand file tree Collapse file tree 2 files changed +13
-3
lines changed
src/routes/(console)/project-[region]-[project]/storage/bucket-[bucket] Expand file tree Collapse file tree 2 files changed +13
-3
lines changed Original file line number Diff line number Diff line change 169
169
</Table .Cell >
170
170
<Table .Cell column ="actions" {root }>
171
171
<Popover let:toggle placement =" bottom-start" padding =" none" >
172
- <Button text icon ariaLabel ="more options" on:click ={toggle }>
172
+ <Button
173
+ text
174
+ icon
175
+ ariaLabel =" more options"
176
+ on:click ={(e ) => {
177
+ e .stopPropagation ();
178
+ e .preventDefault ();
179
+ toggle ();
180
+ }}>
173
181
<Icon icon ={IconDotsHorizontal } size =" s" />
174
182
</Button >
175
183
<ActionMenu .Root slot =" tooltip" >
178
186
</ActionMenu .Item .Anchor >
179
187
<ActionMenu .Item .Button
180
188
leadingIcon ={IconTrash }
181
- on:click ={() => {
189
+ on:click ={(e ) => {
190
+ e .stopPropagation ();
191
+ e .preventDefault ();
182
192
selectedFile = file ;
183
193
showDelete = true ;
184
194
}}>
Original file line number Diff line number Diff line change 32
32
</script >
33
33
34
34
<Confirm {onSubmit } title ="Delete file" bind:open ={showDelete } bind:error >
35
- Are you sure you want to delete <b >{file .name }</b >?
35
+ < p > Are you sure you want to delete <b >{file .name }</b >?</ p >
36
36
</Confirm >
You can’t perform that action at this time.
0 commit comments