diff options
| author | Henry Jameson <me@hjkos.com> | 2024-02-22 18:39:52 +0200 |
|---|---|---|
| committer | Henry Jameson <me@hjkos.com> | 2024-02-22 18:39:52 +0200 |
| commit | 9bbf2e70c2abf2fe88badbab88e446c487752c77 (patch) | |
| tree | 7d07cc7c000d913c3ac6831b7dcbfe303c1cb364 /src/components/announcement_editor | |
| parent | 1640bb61e32f64badd1d781cfc2d3afab953e7d1 (diff) | |
lint
Diffstat (limited to 'src/components/announcement_editor')
| -rw-r--r-- | src/components/announcement_editor/announcement_editor.vue | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/announcement_editor/announcement_editor.vue b/src/components/announcement_editor/announcement_editor.vue index 017b6f5f..c0a3c30a 100644 --- a/src/components/announcement_editor/announcement_editor.vue +++ b/src/components/announcement_editor/announcement_editor.vue @@ -13,8 +13,8 @@ <label for="announcement-start-time">{{ $t('announcements.start_time_prompt') }}</label> <input id="announcement-start-time" - class="input" v-model="announcement.startsAt" + class="input" :type="announcement.allDay ? 'date' : 'datetime-local'" :disabled="disabled" > @@ -23,8 +23,8 @@ <label for="announcement-end-time">{{ $t('announcements.end_time_prompt') }}</label> <input id="announcement-end-time" - class="input" v-model="announcement.endsAt" + class="input" :type="announcement.allDay ? 'date' : 'datetime-local'" :disabled="disabled" > |
