Skip to content
Snippets Groups Projects
Commit b177f36c authored by Hamza HRAMCHI's avatar Hamza HRAMCHI
Browse files

FIX #16727 TIME 0:15 action parameter: deselect redirected nodes if autoRedirectToUser

parent 2e42f4b7
No related branches found
No related tags found
No related merge requests found
......@@ -496,6 +496,9 @@ export class BasketAdministrationSettingsModalComponent implements OnInit {
}
initService2() {
if (this.data.action.redirects.find((tag: any) => tag.keyword === 'AUTO_REDIRECT_TO_USER') !== undefined) {
this.data.action.redirects = this.data.action.redirects.filter((tag: any) => tag.keyword === 'AUTO_REDIRECT_TO_USER');
}
this.allEntities.forEach((entity: any) => {
entity.state = { 'opened': false, 'selected': false };
this.data.action.redirects.forEach((keyword: any) => {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment