Merge branch 'main' into tz-troubleshoot

This commit is contained in:
Faton Ramadani
2023-09-28 14:49:27 +02:00
committed by GitHub
2 changed files with 6 additions and 1 deletions
@@ -7,15 +7,20 @@
export let last: boolean = false
export let numeric: boolean = false
export let head: boolean = false
export let shouldStopPropagation: boolean = false
let Tag = head ? 'th' : 'td'
const { size } = getContext<DatatableContext>('datatable')
</script>
<!-- svelte-ignore a11y-no-static-element-interactions -->
<svelte:element
this={Tag}
{...$$restProps}
on:click={(e) => {
if (shouldStopPropagation) e.stopPropagation()
}}
class={twMerge(
'px-2 py-3.5 text-left text-xs text-primary font-normal whitespace-nowrap',
first ? 'sm:pl-6' : '',
@@ -141,7 +141,7 @@
<FolderUsageInfo {name} tabular />
<Cell><FolderInfo members={computeMembers(owners, extra_perms)} /></Cell>
<Cell>
<Cell shouldStopPropagation>
<Dropdown
placement="bottom-end"
dropdownItems={[