Browse Source

fix : changed date list

pull/7181/head
musharaf-nocodb 12 months ago
parent
commit
326601d939
  1. 2
      packages/nc-gui/components/smartsheet/column/DateOptions.vue

2
packages/nc-gui/components/smartsheet/column/DateOptions.vue

@ -19,7 +19,7 @@ if (!vModel.value.meta?.date_format) {
<template> <template>
<a-form-item :label="$t('labels.dateFormat')"> <a-form-item :label="$t('labels.dateFormat')">
<a-select v-model:value="vModel.meta.date_format" class="nc-date-select" dropdown-class-name="nc-dropdown-date-format"> <a-select v-model:value="vModel.meta.date_format" class="nc-date-select" dropdown-class-name="nc-dropdown-date-format">
<a-select-option v-for="(format, i) of [...dateFormats, ...dateMonthFormats]" :key="i" :value="format"> <a-select-option v-for="(format, i) of [...dateMonthFormats, ...dateFormats]" :key="i" :value="format">
<div class="flex gap-2 justify-between items-center" :data-testid="`nc-date-select-${format}`"> <div class="flex gap-2 justify-between items-center" :data-testid="`nc-date-select-${format}`">
{{ format }} {{ format }}
<component <component

Loading…
Cancel
Save