Skip to content
Snippets Groups Projects
Commit 02785d43 authored by Maxime Jacquemin's avatar Maxime Jacquemin Committed by David Bühler
Browse files

[ivette] Bug fix in by callstack behavior

The bug was that a clic on the by callstack button would not display the
values of all callstacks, instead showing only the consolidated one and
a unique callstack. A second clic was necessary to perform the request,
update the caches and finally display the complete data.

The fix we use here is quite brutal: we invalidate the values cache in
the model. I would like to find a cleaner way.
parent a5bc884d
No related branches found
No related tags found
No related merge requests found
...@@ -120,6 +120,7 @@ export class Model implements ModelCallbacks { ...@@ -120,6 +120,7 @@ export class Model implements ModelCallbacks {
setByCallstacks(fct: string, b: boolean) { setByCallstacks(fct: string, b: boolean) {
this.byCallstacks.set(fct, b); this.byCallstacks.set(fct, b);
this.values.clear();
this.forceLayout(); this.forceLayout();
} }
......
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