@@ -44,5 +44,7 @@ import GroupSection from "@/components/Group/GroupSection.vue";
|
||||
|
||||
const { t } = useI18n({ useScope: "global" });
|
||||
|
||||
defineProps<{ group: IGroup }>();
|
||||
defineProps<{
|
||||
group: Pick<IGroup, "preferredUsername" | "domain" | "discussions">;
|
||||
}>();
|
||||
</script>
|
||||
|
||||
@@ -56,5 +56,7 @@ import GroupSection from "@/components/Group/GroupSection.vue";
|
||||
|
||||
const { t } = useI18n({ useScope: "global" });
|
||||
|
||||
defineProps<{ group: IGroup }>();
|
||||
defineProps<{
|
||||
group: Pick<IGroup, "preferredUsername" | "domain" | "resources">;
|
||||
}>();
|
||||
</script>
|
||||
|
||||
@@ -46,7 +46,7 @@ import { useRouter } from "vue-router";
|
||||
import Draggable from "zhyswan-vuedraggable";
|
||||
import { IResource } from "@/types/resource";
|
||||
import RouteName from "@/router/name";
|
||||
import { IGroup, usernameWithDomain } from "@/types/actor";
|
||||
import { IMinimalActor, usernameWithDomain } from "@/types/actor";
|
||||
import ResourceDropdown from "./ResourceDropdown.vue";
|
||||
import { UPDATE_RESOURCE } from "@/graphql/resources";
|
||||
import { inject, ref } from "vue";
|
||||
@@ -59,7 +59,7 @@ import { Snackbar } from "@/plugins/snackbar";
|
||||
const props = withDefaults(
|
||||
defineProps<{
|
||||
resource: IResource;
|
||||
group: IGroup;
|
||||
group: IMinimalActor;
|
||||
inline?: boolean;
|
||||
}>(),
|
||||
{ inline: false }
|
||||
|
||||
Reference in New Issue
Block a user