Hide hardware information if empty
authorChocobozzz <me@florianbigard.com>
Fri, 13 Dec 2019 08:50:53 +0000 (09:50 +0100)
committerChocobozzz <me@florianbigard.com>
Fri, 13 Dec 2019 08:50:53 +0000 (09:50 +0100)
client/src/app/+about/about-instance/about-instance.component.html

index f05f33d36a378b8647daa15d5cd4504a0288171b..8ed248b60b6e3201774e3db22b28821e44f6a540 100644 (file)
@@ -83,7 +83,7 @@
       Other information
     </div>
 
-    <div class="block hardware-information">
+    <div class="block hardware-information" *ngIf="html.hardwareInformation">
       <div i18n class="section-title">Hardware information</div>
 
       <div [innerHTML]="html.hardwareInformation"></div>