chore: migrate remaining pages to script setup (#7310)

This commit is contained in:
Kuchenpirat
2026-03-24 16:07:08 +01:00
committed by GitHub
parent 27cb585c80
commit 18b3c4beab
57 changed files with 4160 additions and 4971 deletions

View File

@@ -43,24 +43,18 @@
</v-container>
</template>
<script lang="ts">
<script setup lang="ts">
import { useGroupSelf } from "~/composables/use-groups";
export default defineNuxtComponent({
definePageMeta({
middleware: ["can-manage-only"],
setup() {
const { group, actions: groupActions } = useGroupSelf();
const i18n = useI18n();
});
useSeoMeta({
title: i18n.t("group.group"),
});
const { group, actions: groupActions } = useGroupSelf();
const i18n = useI18n();
return {
group,
groupActions,
};
},
useSeoMeta({
title: i18n.t("group.group"),
});
</script>