We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4044e7d commit e392310Copy full SHA for e392310
client/src/app/dashboard/info-center/info-center-datasource.ts
@@ -52,10 +52,14 @@ export class InfoCenterDataSource extends DataSource<InfoCenterItem> {
52
return true;
53
} else {
54
const instance = this.storeService.getState().instances[notifItem.instanceId];
55
- if (this.instanceId) {
56
- return instance.id === this.instance.id;
+ if (instance) {
+ if (this.instanceId) {
57
+ return instance.id === this.instance.id;
58
+ } else {
59
+ return instance.componentType === this.compType;
60
+ }
61
- return instance.componentType === this.compType;
62
+ return false;
63
}
64
65
0 commit comments