Remove dev condition for relatedTo component
This commit is contained in:
parent
de6c91cbab
commit
130691b60a
|
@ -11,7 +11,7 @@ import {HelperFunctions} from "../../utils/HelperFunctions.class";
|
|||
@Component({
|
||||
selector: 'relatedTo',
|
||||
template: `
|
||||
<div class="sideInfoTitle">
|
||||
<div *ngIf="(gateways && gateways.length > 0) || (otherCommunities && otherCommunities.length > 0)" class="sideInfoTitle">
|
||||
<span>Communities</span>
|
||||
</div>
|
||||
<!-- If there are any communities with dashboard -->
|
||||
|
@ -169,7 +169,6 @@ export class RelatedToComponent implements OnInit {
|
|||
|
||||
ngOnInit() {
|
||||
this.contexts.sort(this.compare);
|
||||
if(properties.environment === "development") {
|
||||
let index = 0;
|
||||
this.contexts.forEach( context => {
|
||||
if(context.idContext) {
|
||||
|
@ -215,7 +214,6 @@ export class RelatedToComponent implements OnInit {
|
|||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
ngOnDestroy() {
|
||||
this.subscriptions.forEach(subscription => {
|
||||
|
|
Loading…
Reference in New Issue