Show backend error if remote SSH cannot be enabled

This commit is contained in:
Johannes Zellner
2021-10-07 17:16:27 +02:00
parent 7f0035a823
commit 776c82ccae
2 changed files with 9 additions and 1 deletions

View File

@@ -78,6 +78,7 @@
<b>{{ 'support.remoteSupport.warning' | tr }}</b>
<br/>
<br/>
<b class="pull-left text-danger text-bold" ng-show="toggleSshSupportError">{{ toggleSshSupportError }}</b>
<button class="btn" ng-class="!sshSupportEnabled ? 'btn-danger pull-right' : 'btn-primary pull-right'" ng-click="toggleSshSupport()">{{ sshSupportEnabled ? ('support.remoteSupport.disableAction' | tr) : ('support.remoteSupport.enableAction' | tr) }}</button>
</div>
</div>