Skip to content

Commit 005d951

Browse files
author
Eugene Cheung
authored
fix(dashboards): use correct scope for default DashboardFactory (#367)
Fixes #357 This was unintentionally changed during [this refactoring](6e04b20#diff-03751236dd3f86d2e1421165630d186616c9ca23c203b86ab195b36c5f1022f2) in between v3.0.4 and v3.0.5. --- _By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license_
1 parent 3acdebf commit 005d951

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/facade/MonitoringFacade.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ export class MonitoringFacade extends MonitoringScope {
165165
};
166166
this.dashboardFactory =
167167
props?.dashboardFactory ??
168-
new DefaultDashboardFactory(scope, `${id}-Dashboards`, {
168+
new DefaultDashboardFactory(this, `${id}-Dashboards`, {
169169
dashboardNamePrefix: id,
170170
});
171171

0 commit comments

Comments
 (0)