diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2018-12-24 07:45:23 +0100 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2018-12-24 07:45:23 +0100 |
commit | 25c38fcc89d68ba81384bc3e38368ea1b629e18f (patch) | |
tree | 9fd93997476abf51d3cde9231f6c669ac17039b1 /src/components | |
parent | 620e8297bc86aa29b539ecde38dbfa35bacb8a83 (diff) |
Deathdate force
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'src/components')
-rw-r--r-- | src/components/Properties/PropertyDateTime.vue | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/Properties/PropertyDateTime.vue b/src/components/Properties/PropertyDateTime.vue index 8bbb66a5..5321e561 100644 --- a/src/components/Properties/PropertyDateTime.vue +++ b/src/components/Properties/PropertyDateTime.vue @@ -157,9 +157,9 @@ export default { data() { return { // input type following DatePicker docs - inputType: this.property.getDefaultType() === 'date-time' || this.property.getDefaultType() === 'date-and-or-time' + inputType: this.property.type === 'date-time' || this.property.type === 'date-and-or-time' ? 'datetime' - : this.property.getDefaultType() === 'date' + : this.property.type === 'date' ? 'date' : 'time', |