Skip to content

Commit

Permalink
fix: correctly import date time picker
Browse files Browse the repository at this point in the history
  • Loading branch information
raimund-schluessler committed Dec 3, 2023
1 parent 94b3aaf commit 2fab7a5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/ItemInstances.vue
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ License along with this library. If not, see <http://www.gnu.org/licenses/>.
<div v-if="instanceProperty.key === 'place'">
{{ getInstanceProperty(instance, instanceProperty) }}
</div>
<NcDatetimePicker v-else-if="instanceProperty.key === 'date'"
<NcDateTimePicker v-else-if="instanceProperty.key === 'date'"
append-to-body
:value="new Date(editedInstance.date)"
format="YYYY-MM-DD"
Expand Down Expand Up @@ -235,7 +235,7 @@ import { translate as t } from '@nextcloud/l10n'
import {
NcActions,
NcActionButton,
NcDatetimePicker,
NcDateTimePicker,
} from '@nextcloud/vue'

import Check from 'vue-material-design-icons/Check.vue'
Expand All @@ -253,7 +253,7 @@ export default {
components: {
NcActions,
NcActionButton,
NcDatetimePicker,
NcDateTimePicker,
Attachments,
QrScanModal,
Check,
Expand Down

0 comments on commit 2fab7a5

Please sign in to comment.