Fix events creation
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
160e5fbdae
commit
1d75ce095a
@ -703,10 +703,12 @@ export default class EditEvent extends Vue {
|
|||||||
position: "is-bottom-right",
|
position: "is-bottom-right",
|
||||||
duration: 5000,
|
duration: 5000,
|
||||||
});
|
});
|
||||||
|
if (data?.createEvent) {
|
||||||
await this.$router.push({
|
await this.$router.push({
|
||||||
name: "Event",
|
name: "Event",
|
||||||
params: { uuid: data.createEvent.uuid },
|
params: { uuid: data.createEvent.uuid },
|
||||||
});
|
});
|
||||||
|
}
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
this.saving = false;
|
this.saving = false;
|
||||||
console.error(err);
|
console.error(err);
|
||||||
|
Loading…
Reference in New Issue
Block a user