Browse Source

fix: lint

pull/6323/head
DarkPhoenix2704 1 year ago
parent
commit
9cfc50c8e3
  1. 2
      packages/nc-gui/components/cell/DatePicker.vue
  2. 2
      packages/nc-gui/components/cell/DateTimePicker.vue
  3. 2
      packages/nc-gui/components/cell/TimePicker.vue
  4. 2
      packages/nc-gui/components/cell/YearPicker.vue

2
packages/nc-gui/components/cell/DatePicker.vue

@ -83,7 +83,7 @@ watch(
)
const placeholder = computed(() => {
if (isEditColumn.value && ( modelValue === '' || modelValue === null )) {
if (isEditColumn.value && (modelValue === '' || modelValue === null)) {
return '(Optional)'
} else if (modelValue === null && showNull.value) {
return 'NULL'

2
packages/nc-gui/components/cell/DateTimePicker.vue

@ -136,7 +136,7 @@ watch(
)
const placeholder = computed(() => {
if (isEditColumn.value && ( modelValue === '' || modelValue === null )) {
if (isEditColumn.value && (modelValue === '' || modelValue === null)) {
return '(Optional)'
} else if (modelValue === null && showNull.value) {
return 'NULL'

2
packages/nc-gui/components/cell/TimePicker.vue

@ -88,7 +88,7 @@ watch(
)
const placeholder = computed(() => {
if (isEditColumn.value && ( modelValue === '' || modelValue === null )) {
if (isEditColumn.value && (modelValue === '' || modelValue === null)) {
return '(Optional)'
} else if (modelValue === null && showNull.value) {
return 'NULL'

2
packages/nc-gui/components/cell/YearPicker.vue

@ -75,7 +75,7 @@ watch(
)
const placeholder = computed(() => {
if (isEditColumn.value && ( modelValue === '' || modelValue === null )) {
if (isEditColumn.value && (modelValue === '' || modelValue === null)) {
return '(Optional)'
} else if (modelValue === null && showNull.value) {
return 'NULL'

Loading…
Cancel
Save