Skip to content

Commit 86b998b

Browse files
committed
Clear comments
1 parent 4f69216 commit 86b998b

File tree

2 files changed

+1
-55
lines changed

2 files changed

+1
-55
lines changed

pages/rollups.vue

Lines changed: 0 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,6 @@ watch(
212212
}
213213
)
214214
215-
/** Refetch rollups */
216215
watch(
217216
() => page.value,
218217
async () => {
@@ -318,28 +317,9 @@ watch(
318317
<tr>
319318
<th><Text size="12" weight="600" color="tertiary" noWrap>#</Text></th>
320319
<th><Text size="12" weight="600" color="tertiary" noWrap>Rollup</Text></th>
321-
<!-- <th @click="handleSort('time')" :class="$style.sortable">
322-
<Flex align="center" gap="6">
323-
<Text size="12" weight="600" color="tertiary" noWrap>Last Active</Text>
324-
<Icon
325-
v-if="sort.by === 'time'"
326-
name="chevron"
327-
size="12"
328-
color="secondary"
329-
:style="{ transform: `rotate(${sort.dir === 'asc' ? '180' : '0'}deg)` }"
330-
/>
331-
</Flex>
332-
</th> -->
333320
<th>
334321
<Flex align="center" gap="6">
335322
<Text size="12" weight="600" color="tertiary" noWrap>Category</Text>
336-
<!-- <Icon
337-
v-if="sort.by === 'time'"
338-
name="chevron"
339-
size="12"
340-
color="secondary"
341-
:style="{ transform: `rotate(${sort.dir === 'asc' ? '180' : '0'}deg)` }"
342-
/> -->
343323
</Flex>
344324
</th>
345325
<th @click="handleSort('size')" :class="$style.sortable">
@@ -434,19 +414,6 @@ watch(
434414
</Flex>
435415
</NuxtLink>
436416
</td>
437-
<!-- <td>
438-
<NuxtLink :to="`/rollup/${r.slug}`">
439-
<Flex direction="column" justify="center" gap="4">
440-
<Text size="12" weight="600" color="primary">
441-
{{ DateTime.fromISO(r.last_message_time).toRelative({ locale: "en", style: "short" }) }}
442-
</Text>
443-
444-
<Text size="12" weight="500" color="tertiary">
445-
{{ DateTime.fromISO(r.last_message_time).setLocale("en").toFormat("LLL d, t") }}
446-
</Text>
447-
</Flex>
448-
</NuxtLink>
449-
</td> -->
450417
<td>
451418
<NuxtLink :to="`/rollup/${r.slug}`">
452419
<Flex align="center">

pages/widgets/rollups.vue

Lines changed: 1 addition & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,9 @@ import { DateTime } from "luxon"
55
/** UI */
66
import Button from "@/components/ui/Button.vue"
77
import { Dropdown, DropdownDivider, DropdownItem, DropdownTitle } from "@/components/ui/Dropdown"
8-
import Tooltip from "@/components/ui/Tooltip.vue"
9-
10-
/** Components */
11-
import AmountInCurrency from "@/components/AmountInCurrency.vue"
128
139
/** Services */
14-
import { formatBytes, comma, truncateDecimalPart, abbreviate, capitilize } from "@/services/utils"
10+
import { formatBytes, comma, abbreviate, capitilize } from "@/services/utils"
1511
1612
/** API */
1713
import { fetchRollups, fetchRollupsCount } from "@/services/api/rollup"
@@ -323,9 +319,6 @@ watch(
323319
>
324320
<Flex ref="rowEl" @click="expand(r)" align="center" justify="between" wide>
325321
<Flex align="center" gap="12">
326-
<!-- <Flex align="center" justify="center" :class="$style.avatar_container">
327-
<img :src="r.logo" :class="$style.avatar_image" />
328-
</Flex> -->
329322
<Flex v-if="r.logo" align="center" :class="$style.avatar_wrapper">
330323
<div :class="$style.avatar_container">
331324
<img :src="r.logo" :class="$style.avatar_image" />
@@ -553,20 +546,6 @@ watch(
553546
background: var(--op-10);
554547
}
555548
556-
/* .avatar_container {
557-
position: relative;
558-
width: 40px;
559-
height: 40px;
560-
overflow: hidden;
561-
border-radius: 50%;
562-
}
563-
564-
.avatar_image {
565-
width: 100%;
566-
height: 100%;
567-
object-fit: cover;
568-
} */
569-
570549
.avatar_wrapper {
571550
position: relative;
572551
width: 40px;

0 commit comments

Comments
 (0)