web/multinode: fix bandwidth graph disappearing on state change
Resolves https://github.com/storj/storj/issues/5847 Change-Id: I6731e7a39cd3ffedaff76b307c141a9e94d9b71f
This commit is contained in:
parent
dab4288899
commit
162af1e836
@ -38,6 +38,12 @@ export default class BaseChart extends Vue {
|
||||
this.chartWidth = this.width;
|
||||
this.chartKey += 1;
|
||||
}
|
||||
/**
|
||||
* Rebuilds chart after type switch.
|
||||
*/
|
||||
public mounted(): void {
|
||||
this.rebuildChart();
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user