Ensure we have a fallback avatar

This commit is contained in:
Johannes Zellner
2015-07-28 11:28:06 +02:00
parent 509e2caa83
commit 947137b3f9
3 changed files with 2 additions and 6 deletions

View File

@@ -77,7 +77,7 @@
<div class="wrapper">
<div class="content">
<img ng-src="{{ cloudronAvatar || '/img/logo_inverted_192.png' }}"/>
<img ng-src="{{ cloudronAvatar || '/img/logo_inverted_192.png' }}" onerror="this.src = '/img/logo_inverted_192.png'"/>
<h1> {{cloudronName}} </h1>
<div ng-show="errorCode == 0">