Show error when logs are gone

This commit is contained in:
Johannes Zellner
2023-05-15 17:49:34 +02:00
parent b5641cc445
commit af63dbb31d
4 changed files with 20 additions and 11 deletions
+2 -1
View File
@@ -65,7 +65,8 @@
<a class="offline-banner animateMe" ng-show="client.offline" ng-cloak href="https://docs.cloudron.io/troubleshooting/" target="_blank"><i class="fa fa-circle-notch fa-spin"></i> {{ 'main.offline' | tr }}</a>
<div class="animateMe ng-hide layout-root" ng-show="initialized">
<div ng-show="error" class="logs-error">{{ 'logs.notFoundError' | tr }}</div>
<div ng-show="error.notFound" class="logs-error">{{ 'logs.notFoundError' | tr }}</div>
<div ng-show="error.logsGone" class="logs-error">{{ 'logs.logsGoneError' | tr }}</div>
<div ng-hide="error" class="logs-controls">
<h3 style="display: inline-block;">{{ selected.name }}</h3>