mirror of
https://framagit.org/les/gancio.git
synced 2025-01-31 16:42:22 +01:00
minor
This commit is contained in:
parent
9926699659
commit
5222b24f88
1 changed files with 4 additions and 2 deletions
|
@ -98,7 +98,9 @@ export default {
|
|||
recurrent: event.recurrent,
|
||||
from: new Date(dayjs.unix(event.start_datetime)),
|
||||
due: new Date(dayjs.unix(event.end_datetime)),
|
||||
multidate: event.multidate
|
||||
multidate: event.multidate,
|
||||
fromHour: true,
|
||||
dueHour: true
|
||||
}
|
||||
|
||||
data.event.title = event.title
|
||||
|
@ -180,7 +182,7 @@ export default {
|
|||
this.updateMeta()
|
||||
this.$router.push('/')
|
||||
this.$nextTick(() => {
|
||||
this.$root.$message(this.$auth.loggedIn ? 'event.added' : 'event.added_anon', { color: 'success' })
|
||||
this.$root.$message(this.$auth.loggedIn ? (this.edit ? 'event.saved' : 'event.added') : 'event.added_anon', { color: 'success' })
|
||||
})
|
||||
} catch (e) {
|
||||
switch (e.request.status) {
|
||||
|
|
Loading…
Reference in a new issue