diff --git a/src/components/MediaSettings/MediaSettings.vue b/src/components/MediaSettings/MediaSettings.vue index 2fa56d32b52..d0213f3c579 100644 --- a/src/components/MediaSettings/MediaSettings.vue +++ b/src/components/MediaSettings/MediaSettings.vue @@ -189,10 +189,7 @@ - + import type { NextcloudUser } from '@nextcloud/auth' -import { getGuestNickname } from '@nextcloud/auth' import { subscribe, unsubscribe } from '@nextcloud/event-bus' import { t } from '@nextcloud/l10n' import { generateUrl } from '@nextcloud/router' @@ -68,9 +67,6 @@ const { compact = false } = defineProps<{ compact?: boolean }>() -const emit = defineEmits<{ - (event: 'update', value: string): void -}>() const loginUrl = `${generateUrl('/login')}?redirect_url=${encodeURIComponent(window.location.pathname)}` const actorStore = useActorStore() @@ -84,7 +80,6 @@ const guestUserName = computed({ set: (newValue: string) => { guestNameStore.guestUserName = newValue debounceUpdateDisplayName() - emit('update', newValue) }, }) const isEditingUsername = ref(false)