Skip to content

Commit

Permalink
chore: code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
RitvikSardana committed Feb 2, 2025
1 parent b3b550b commit bc6a8fa
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions desk/src/components/ListViewBuilder.vue
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@
:rows="rows"
row-key="name"
:options="{
selectable: props.options.selectable ?? true ,
showTooltip: false,
resizeColumn: false,
onRowClick: (row: Object) => emit('rowClick', row['name']),
emptyState,
}"
selectable: props.options.selectable ?? true,
showTooltip: false,
resizeColumn: false,
onRowClick: (row: Object) => emit('rowClick', row['name']),
emptyState,
}"
>
<ListHeader class="sm:mx-5 mx-3">
<ListHeaderItem
Expand All @@ -54,8 +54,8 @@
<ListSelectBanner v-if="props.options.showSelectBanner">
<template #actions="{ selections }">
<Dropdown :options="selectBannerOptions(selections)">
<Button icon="more-horizontal" variant="ghost"
/></Dropdown>
<Button icon="more-horizontal" variant="ghost" />
</Dropdown>
</template>
</ListSelectBanner>
</ListView>
Expand Down Expand Up @@ -309,7 +309,7 @@ function listCell(column: any, row: any, item: any, idx: number) {
}
if (column.type === "Datetime") {
return h("span", {
class: "truncate",
class: "truncate text-base",
innerHTML: dayjs.tz(item).fromNow(),
});
}
Expand Down

0 comments on commit bc6a8fa

Please sign in to comment.