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:
Jonathan Druart 2023-07-06 10:43:05 +02:00 committed by Tomas Cohen Arazi
parent d2884a3a8d
commit f4083a6f5c
No known key found for this signature in database
GPG Key ID: 0A272EA1B2F3C15F
1 changed files with 3 additions and 0 deletions

View File

@ -352,6 +352,9 @@ export default {
this.$__("Train %s deleted").format(train.name),
true
)
this.$router.push(
"/cgi-bin/koha/preservation/trains"
)
},
error => {}
)