From 6645b1efae55f1aefe67d390644ee59f6aa9f58e Mon Sep 17 00:00:00 2001 From: Tobias Frischmann Date: Mon, 14 Sep 2026 21:09:25 +0200 Subject: [PATCH] bump version --- app/composables/useFilters.ts | 26 ++++++++++++++------------ app/mutations/categories.ts | 4 ++-- flake.nix | 2 +- 3 files changed, 17 insertions(+), 15 deletions(-) diff --git a/app/composables/useFilters.ts b/app/composables/useFilters.ts index 664529c..9e2eb66 100644 --- a/app/composables/useFilters.ts +++ b/app/composables/useFilters.ts @@ -50,23 +50,25 @@ export function useFilter() { if (filter.value.category.length !== 0) return true; return filter.value.tags.length !== 0; - }); + }); const { data: currentTags } = useQuery(useTagsQuery()); - const tags = computed(() => { - return rawTags.value.filter((tag) => { - return currentTags.value?.find((currentTag) => currentTag.uuid === tag ) - }) - }) + const tags = computed(() => { + return rawTags.value.filter((tag) => { + return currentTags.value?.find((currentTag) => currentTag.uuid === tag); + }); + }); - const { data: currentCategories } = useQuery(useCategoriesQuery()); + const { data: currentCategories } = useQuery(useCategoriesQuery()); - const category = computed(() => { - return rawCategory.value.filter((category) => { - return currentCategories.value?.find((currentCategory) => currentCategory.uuid === category ) - }) - }) + const category = computed(() => { + return rawCategory.value.filter((category) => { + return currentCategories.value?.find( + (currentCategory) => currentCategory.uuid === category, + ); + }); + }); return { tags, rawTags, category, rawCategory, time, isFiltering }; } diff --git a/app/mutations/categories.ts b/app/mutations/categories.ts index ade9f0e..6011971 100644 --- a/app/mutations/categories.ts +++ b/app/mutations/categories.ts @@ -106,8 +106,8 @@ export const useUpdateCategory = defineMutation({ queryCache.setQueryData(["categories"], [...activeCategories]); return { uuid: label.uuid }; - }, - onSettled() { + }, + onSettled() { const queryCache = useQueryCache(); queryCache.invalidateQueries({ key: ["todos"] }); }, diff --git a/flake.nix b/flake.nix index 5cb4f28..7940ec6 100644 --- a/flake.nix +++ b/flake.nix @@ -8,7 +8,7 @@ outputs = { self, nixpkgs }: let system = "x86_64-linux"; - version = "3.2.0"; + version = "3.2.1"; pnpm = pkgs.pnpm_11; pkgs = import nixpkgs { inherit system; }; -- 2.51.2