fix(salix): redirect from travel to addEntry
gitea/salix/pipeline/pr-master This commit looks good Details

This commit is contained in:
Javier Segarra 2024-10-03 22:33:56 +02:00
parent 80750079e1
commit 83f0f11332
1 changed files with 1 additions and 2 deletions

View File

@ -75,8 +75,7 @@ class Controller extends Section {
async redirectToCreateEntry() {
this.$state.go('home');
const createForm = JSON.stringify({travelFk: this.travelId});
window.location.href = await this.vnApp.getUrl(`entry/list?createForm=${createForm}`);
window.location.href = await this.vnApp.getUrl(`entry/create?travelFk=${this.travelId}`);
}
onCloneWithEntriesAccept() {