diff --git a/src/components/sharing/userTeam.vue b/src/components/sharing/userTeam.vue index d961d382c..e675ee07c 100644 --- a/src/components/sharing/userTeam.vue +++ b/src/components/sharing/userTeam.vue @@ -242,6 +242,7 @@ const sharableName = computed(() => { if (props.shareType === 'user') { searchService = shallowReactive(new UserService()) + // eslint-disable-next-line vue/no-ref-as-operand sharable = ref(new UserModel()) searchLabel.value = 'username' @@ -258,6 +259,7 @@ if (props.shareType === 'user') { } } else if (props.shareType === 'team') { searchService = new TeamService() + // eslint-disable-next-line vue/no-ref-as-operand sharable = ref(new TeamModel()) searchLabel.value = 'name'