Hi!
How can I stop running on REST service response in mapped JS file ? Or, simply exit (return) if some condition.
I found solution - return(0). Is it correct ?
Thanks!
Hi!
How can I stop running on REST service response in mapped JS file ? Or, simply exit (return) if some condition.
I found solution - return(0). Is it correct ?
Thanks!
Hi Ivan.
I'm not sure I understand. What do you mean "in mapped JS file"
I have REST service. It's response is mapped to JS file. How can I stop running in JS file?
For example in my JS file
if (stopRun == true) {
return;
}
So, you don't want to show this value in the corresponding component?
Try to return space character
return " ";
No... OK, lets try this - how can I stop running through REST response. I want to show console.log('Skip Tours table update'); only once and stop executing REST.
It's clear now. I think it's impossible. You can't stop mapping.
I see. Thank you, Oleg