diff --git a/src/components/sharing/linkSharing.vue b/src/components/sharing/linkSharing.vue index c36b3ddc..15517de7 100644 --- a/src/components/sharing/linkSharing.vue +++ b/src/components/sharing/linkSharing.vue @@ -83,6 +83,7 @@
{{ $t('list.share.links.removeText') }}
@@ -181,13 +200,13 @@ import {useStore} from '@/store' import {useI18n} from 'vue-i18n' import {RIGHTS} from '@/constants/rights' -import LinkShareModel, { type ILinkShare } from '@/models/linkShare' +import LinkShareModel, {type ILinkShare} from '@/models/linkShare' import LinkShareService from '@/services/linkShare' import {useCopyToClipboard} from '@/composables/useCopyToClipboard' import {success} from '@/message' -import type { IList } from '@/models/list' +import type {IList} from '@/models/list' const props = defineProps({ listId: { @@ -207,6 +226,11 @@ const showDeleteModal = ref(false) const linkIdToDelete = ref(0) const showNewForm = ref(false) +interface SelectedViewMapper { + [listId: number]: string, +} +const selectedView = ref