Skip to content
Snippets Groups Projects
Commit eb2f11a4 authored by Alex ORLUC's avatar Alex ORLUC
Browse files

FIX #21386 TIME 0:10 cast number templateId

parent 4a62cfed
No related branches found
No related tags found
No related merge requests found
......@@ -67,7 +67,7 @@ export class SearchComponent implements OnInit {
setLaunchWithSearchTemplate(templates: any) {
if (this.searchTemplateId !== null) {
const template = templates.find((itemTemplate: any) => itemTemplate.id == this.searchTemplateId);
const template = templates.find((itemTemplate: any) => itemTemplate.id === (+this.searchTemplateId));
if (template !== undefined) {
this.appCriteriaTool.selectSearchTemplate(template);
this.appCriteriaTool.getCurrentCriteriaValues();
......
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