Bug 30708: (bugfix) Redirect to train list view after the train is deleted
Do not stay on the show train view. Signed-off-by: Laurence Rault <laurence.rault@biblibre.com> Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
d2884a3a8d
commit
f4083a6f5c
|
|
@ -352,6 +352,9 @@ export default {
|
|||
this.$__("Train %s deleted").format(train.name),
|
||||
true
|
||||
)
|
||||
this.$router.push(
|
||||
"/cgi-bin/koha/preservation/trains"
|
||||
)
|
||||
},
|
||||
error => {}
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in New Issue