diff --git a/src/components/notifications/notifications.vue b/src/components/notifications/notifications.vue index 62d23a72..bb788a11 100644 --- a/src/components/notifications/notifications.vue +++ b/src/components/notifications/notifications.vue @@ -63,7 +63,7 @@ const LOAD_NOTIFICATIONS_INTERVAL = 10000 const store = useStore() const router = useRouter() -const allNotifications = ref([]) +const allNotifications = ref([]) const showNotifications = ref(false) const popup = ref(null) diff --git a/src/components/sharing/linkSharing.vue b/src/components/sharing/linkSharing.vue index b38a5834..4cdf873f 100644 --- a/src/components/sharing/linkSharing.vue +++ b/src/components/sharing/linkSharing.vue @@ -198,7 +198,7 @@ const props = defineProps({ const {t} = useI18n({useScope: 'global'}) -const linkShares = ref([]) +const linkShares = ref([]) const linkShareService = shallowReactive(new LinkShareService()) const selectedRight = ref(RIGHTS.READ) const name = ref('') diff --git a/src/components/tasks/partials/comments.vue b/src/components/tasks/partials/comments.vue index 3501eadc..48b7b6bd 100644 --- a/src/components/tasks/partials/comments.vue +++ b/src/components/tasks/partials/comments.vue @@ -188,8 +188,8 @@ const commentEdit = reactive(new TaskCommentModel()) const newComment = reactive(new TaskCommentModel()) -const saved = ref(null) -const saving = ref(null) +const saved = ref(null) +const saving = ref(null) const userAvatar = computed(() => store.state.auth.info.getAvatarUrl(48)) const currentUserId = computed(() => store.state.auth.info.id) diff --git a/src/components/tasks/partials/description.vue b/src/components/tasks/partials/description.vue index 2b3a14ce..71b1f37a 100644 --- a/src/components/tasks/partials/description.vue +++ b/src/components/tasks/partials/description.vue @@ -47,6 +47,7 @@ const props = defineProps({ required: true, }, canWrite: { + type: Boolean, required: true, }, }) diff --git a/src/components/tasks/partials/listSearch.vue b/src/components/tasks/partials/listSearch.vue index 482e47e2..58c15643 100644 --- a/src/components/tasks/partials/listSearch.vue +++ b/src/components/tasks/partials/listSearch.vue @@ -38,7 +38,7 @@ const emit = defineEmits(['update:modelValue']) const store = useStore() const {t} = useI18n({useScope: 'global'}) -const list = reactive(new ListModel()) +const list: ListModel= reactive(new ListModel()) watch( () => props.modelValue, diff --git a/src/components/tasks/partials/repeatAfter.vue b/src/components/tasks/partials/repeatAfter.vue index 8c3d5e28..2d279330 100644 --- a/src/components/tasks/partials/repeatAfter.vue +++ b/src/components/tasks/partials/repeatAfter.vue @@ -62,14 +62,15 @@