Homologene support #issuecomment-912632968
@@ -180,6 +180,9 @@ export default class ngbTrackEvents {
});
}
}
+ if (data.feature.feature
+ && data.feature.feature.toLowerCase() === 'gene'
+ && data.feature.name) {
const layoutChange = this.appLayout.Panels.homologs;
layoutChange.displayed = true;
menuData.push({
@@ -201,6 +204,7 @@ export default class ngbTrackEvents {
? 'Feature type is not Gene or Name is missing'
: undefined,
});
+ }
if (menuData.length > 0) {
const childScope = this.$scope.$new(false);
childScope.menuData = menuData;
