@@ -184,7 +184,6 @@
|
||||
</template>
|
||||
|
||||
<script lang="ts" setup>
|
||||
import FullAddressAutoComplete from "@/components/Event/FullAddressAutoComplete.vue";
|
||||
import PictureUpload from "@/components/PictureUpload.vue";
|
||||
import { GroupVisibility, MemberRole, Openness } from "@/types/enums";
|
||||
import { IGroup, usernameWithDomain, displayName } from "@/types/actor";
|
||||
@@ -212,6 +211,10 @@ const Editor = defineAsyncComponent(
|
||||
() => import("@/components/TextEditor.vue")
|
||||
);
|
||||
|
||||
const FullAddressAutoComplete = defineAsyncComponent(
|
||||
() => import("@/components/Event/FullAddressAutoComplete.vue")
|
||||
);
|
||||
|
||||
const props = defineProps<{ preferredUsername: string }>();
|
||||
|
||||
const { currentActor } = useCurrentActorClient();
|
||||
@@ -263,7 +266,7 @@ onGroupResult(({ data }) => {
|
||||
|
||||
watch(
|
||||
group,
|
||||
async (newGroup: IGroup, oldGroup: IGroup) => {
|
||||
async (newGroup: IGroup | undefined, oldGroup: IGroup | undefined) => {
|
||||
console.debug("watching group");
|
||||
if (!newGroup) return;
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user