LinkTable now supports variant (list/table) and optional title toggle, replacing the need for separate components. Updates all consumers to use the unified API. Co-Authored-By: Claude Opus 4.6 <[email protected]>
19 lines
561 B
Vue
19 lines
561 B
Vue
<script setup>
|
|
import AutoScroll from "@/components/util/AutoScroll.vue";
|
|
import LinkTable from "@/components/util/LinkTable.vue";
|
|
import Header from "@/components/text/Header.vue";
|
|
|
|
import { useActivityStore } from "@/stores/activity";
|
|
|
|
const activityStore = useActivityStore();
|
|
</script>
|
|
|
|
<template>
|
|
<div class="flex flex-col items-center">
|
|
<Header>Consumption</Header>
|
|
<AutoScroll class="flex-1 w-full">
|
|
<LinkTable variant="table" class="w-full" :items="activityStore.activity" />
|
|
</AutoScroll>
|
|
</div>
|
|
</template>
|