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:29:01 +02:00
parent 486c7f4fa3
commit b85989105b
2 changed files with 3 additions and 2 deletions

View File

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