feat: title as menu link and updated lists history
Docker Build / build (push) Has been cancelled
TS Lint / ESLint (push) Has been cancelled
TS Lint / Oxlint (push) Has been cancelled
TS Lint / TypeScript (push) Has been cancelled

This commit is contained in:
2026-07-16 11:47:35 +02:00
parent fb48f64ed8
commit 765f3e1f8a
5 changed files with 70 additions and 41 deletions
+3 -2
View File
@@ -1,5 +1,5 @@
<script setup lang="ts">
import { getRecentLists } from "@/lib/lists";
import { useListStore } from "@/stores/lists";
import { ArrowBigRightDashIcon, DicesIcon, HistoryIcon } from "@lucide/vue";
import { generateSlug } from "random-word-slugs";
import { defineAsyncComponent, onBeforeMount, ref } from "vue";
@@ -9,7 +9,8 @@ const RecentItem = defineAsyncComponent(
);
const listNameInput = ref<string>(generateSlug(4));
const recentLists = ref<string[]>(getRecentLists());
const { lists: recentLists } = useListStore();
function onRandom() {
listNameInput.value = generateSlug(4);