Skip to content

Commit 64d6d65

Browse files
authored
Register Dashboard components (hashicorp-forge#208)
1 parent 1eb2acb commit 64d6d65

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

web/app/components/dashboard/latest-updates.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,3 +100,9 @@ export default class DashboardLatestUpdatesComponent extends Component<Dashboard
100100
this.docsToShow = newDocsToShow as HermesDocument[];
101101
});
102102
}
103+
104+
declare module "@glint/environment-ember-loose/registry" {
105+
export default interface Registry {
106+
"Dashboard::LatestUpdates": typeof DashboardLatestUpdatesComponent;
107+
}
108+
}

web/app/components/dashboard/new-features-banner.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,9 @@ export default class DashboardNewFeaturesBanner extends Component<DashboardNewFe
2929
this.isDismissed = true;
3030
}
3131
}
32+
33+
declare module "@glint/environment-ember-loose/registry" {
34+
export default interface Registry {
35+
"Dashboard::NewFeaturesBanner": typeof DashboardNewFeaturesBanner;
36+
}
37+
}

0 commit comments

Comments
 (0)