hide empty extensions table in About

This commit is contained in:
Denys Vuika
2018-11-22 16:10:06 +00:00
parent 0bd64f2543
commit 4726803709
2 changed files with 7 additions and 4 deletions

View File

@@ -6,6 +6,7 @@
"sharedlinks", "sharedlinks",
"Redistributable", "Redistributable",
"fullscreen", "fullscreen",
"LGPL",
"ngrx", "ngrx",
"ngstack", "ngstack",

View File

@@ -6,10 +6,12 @@
<p>{{ 'APP.ABOUT.VERSION' | translate }} {{ releaseVersion }}</p> <p>{{ 'APP.ABOUT.VERSION' | translate }} {{ releaseVersion }}</p>
</article> </article>
<article> <ng-container *ngIf="(extensions$ | async) as extensions">
<header>{{ 'APP.ABOUT.PLUGINS.TITLE' | translate }}</header> <article *ngIf="extensions.length > 0">
<app-extension-list [data]="extensions$ | async"></app-extension-list> <header>{{ 'APP.ABOUT.PLUGINS.TITLE' | translate }}</header>
</article> <app-extension-list [data]="extensions"></app-extension-list>
</article>
</ng-container>
<ng-container *ngIf="repository"> <ng-container *ngIf="repository">
<article> <article>