fix: uppercase types (#1810)
Co-authored-by: Dominik Pschenitschni <mail@celement.de> Reviewed-on: https://kolaente.dev/vikunja/frontend/pulls/1810 Reviewed-by: konrad <k@knt.li> Co-authored-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de> Co-committed-by: Dominik Pschenitschni <dpschen@noreply.kolaente.de>
This commit is contained in:
parent
9c2438026b
commit
080675b38f
3 changed files with 4 additions and 4 deletions
|
@ -1,4 +1,4 @@
|
|||
export const isAppleDevice = (): Boolean => {
|
||||
export const isAppleDevice = (): boolean => {
|
||||
return navigator.userAgent.includes('Mac') || [
|
||||
'iPad Simulator',
|
||||
'iPhone Simulator',
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
export function isEmail(email: string): Boolean {
|
||||
export function isEmail(email: string): boolean {
|
||||
const format = /^.+@.+$/
|
||||
const match = email.match(format)
|
||||
|
||||
|
|
|
@ -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')
|
||||
|
|
Loading…
Reference in a new issue