Skip to content
Snippets Groups Projects
Commit a85dfd76 authored by David Bühler's avatar David Bühler
Browse files

[ivette] Eva values: minor simplification.

parent 39ca88a1
No related branches found
No related tags found
No related merge requests found
...@@ -127,10 +127,9 @@ export class Model implements ModelCallbacks { ...@@ -127,10 +127,9 @@ export class Model implements ModelCallbacks {
let selected = false; let selected = false;
this.probes.forEach((p) => { this.probes.forEach((p) => {
if (p.fct === fct) { if (p.fct === fct) {
p.setTransient();
if (this.selected === p) if (this.selected === p)
selected = true; selected = true;
if (!p.transient)
p.setTransient();
} }
}); });
if (selected) if (selected)
......
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