Skip to content

Commit

Permalink
enh: fix lint
Browse files Browse the repository at this point in the history
Signed-off-by: Cleopatra Enjeck M <patrathewhiz@gmail.com>
  • Loading branch information
enjeck committed Feb 7, 2024
1 parent 8acd1a9 commit 8fe2dd7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<template>
<RowFormWrapper :title="column.title" :mandatory="column.mandatory" :description="column.description" :width="2">
<NcDateTimePickerNative id="datetime-picker" v-model="localValue"
type="datetime-local"/>
type="datetime-local" />
<div v-if="canBeCleared" class="icon-close make-empty" @click="emptyValue" />
</RowFormWrapper>
</template>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<template>
<RowFormWrapper :title="column.title" :mandatory="column.mandatory" :description="column.description" :width="2">
<NcDateTimePickerNative id="datetime-time-picker" v-model="localValue" :label="t('tables', 'Please select a new time')"
type="time"/>
type="time" />
<div v-if="canBeCleared" class="icon-close make-empty" @click="emptyValue" />
</RowFormWrapper>
</template>
Expand Down Expand Up @@ -36,7 +36,6 @@ export default {
},
localValue: {
get() {
console.log(this.value)
if (this.value !== null && this.value !== 'none') {
return Moment(this.value, 'HH:mm').toDate()
} else if (this.value === null && this.column.datetimeDefault === 'now') {
Expand Down

0 comments on commit 8fe2dd7

Please sign in to comment.