ui: fix drilldown reset
This commit is contained in:
parent
9e17673a4a
commit
b04bcb935e
1 changed files with 2 additions and 1 deletions
|
|
@ -71,7 +71,8 @@ export default class DashboardStore {
|
|||
|
||||
resetDrillDownFilter() {
|
||||
this.drillDownFilter = new Filter();
|
||||
this.drillDownPeriod = Period({ rangeName: LAST_7_DAYS });
|
||||
|
||||
// back to previous
|
||||
const timeStamps = this.drillDownPeriod.toTimestamps();
|
||||
this.drillDownFilter.updateKey('startTimestamp', timeStamps.startTimestamp);
|
||||
this.drillDownFilter.updateKey('endTimestamp', timeStamps.endTimestamp);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue