diff --git a/src/helpers/isAppleDevice.ts b/src/helpers/isAppleDevice.ts index 9420d729c..b6d8247cc 100644 --- a/src/helpers/isAppleDevice.ts +++ b/src/helpers/isAppleDevice.ts @@ -1,4 +1,4 @@ -export const isAppleDevice = (): Boolean => { +export const isAppleDevice = (): boolean => { return navigator.userAgent.includes('Mac') || [ 'iPad Simulator', 'iPhone Simulator', diff --git a/src/helpers/isEmail.ts b/src/helpers/isEmail.ts index 08957d0f0..59be2db32 100644 --- a/src/helpers/isEmail.ts +++ b/src/helpers/isEmail.ts @@ -1,4 +1,4 @@ -export function isEmail(email: string): Boolean { +export function isEmail(email: string): boolean { const format = /^.+@.+$/ const match = email.match(format) diff --git a/src/views/tasks/ShowTasks.vue b/src/views/tasks/ShowTasks.vue index 71e16476a..b54ef3ee4 100644 --- a/src/views/tasks/ShowTasks.vue +++ b/src/views/tasks/ShowTasks.vue @@ -81,8 +81,8 @@ const { } = defineProps<{ dateFrom?: Date | string, dateTo?: Date | string, - showNulls?: Boolean, - showOverdue?: Boolean, + showNulls?: boolean, + showOverdue?: boolean, }>() const showAll = computed(() => typeof dateFrom === 'undefined' || typeof dateTo === 'undefined')