fix(front): add missing title to Participants View page

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2023-06-20 12:09:47 +02:00
parent d63999c081
commit a5a86a5e1b
3 changed files with 15 additions and 2 deletions

View File

@@ -284,6 +284,7 @@ import Incognito from "vue-material-design-icons/Incognito.vue";
import EmptyContent from "@/components/Utils/EmptyContent.vue";
import { Notifier } from "@/plugins/notifier";
import Tag from "@/components/TagElement.vue";
import { useHead } from "@vueuse/head";
const PARTICIPANTS_PER_PAGE = 10;
const MESSAGE_ELLIPSIS_LENGTH = 130;
@@ -458,6 +459,12 @@ const toggleQueueDetails = (row: IParticipant): void => {
};
const openDetailedRows = ref<Record<string, boolean>>({});
useHead({
title: computed(() =>
t("Participants to {eventTitle}", { eventTitle: event.value?.title })
),
});
</script>
<!-- Add "scoped" attribute to limit CSS to this component only -->