Add page title for Categories view

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2023-01-27 15:48:48 +01:00
parent 31fd99bd37
commit 0775814e19
No known key found for this signature in database
GPG key ID: A061B9DDE0CA0773

View file

@ -103,6 +103,7 @@ import {
import { useI18n } from "vue-i18n";
import { useEventCategories } from "@/composition/apollo/config";
import EmptyContent from "@/components/Utils/EmptyContent.vue";
import { useHead } from "@vueuse/head";
const { t } = useI18n({ useScope: "global" });
@ -150,4 +151,8 @@ const imageLicense = (categoryLicence: CategoryPictureLicencing): string => {
};
const isLicencePanelOpen = ref(false);
useHead({
title: computed(() => t("Category list")),
});
</script>