There is no ng-enabled, only ng-disabled

This commit is contained in:
Johannes Zellner
2019-08-30 12:34:31 +02:00
parent c303174f0b
commit b4248acd9a
2 changed files with 2 additions and 2 deletions

View File

@@ -252,7 +252,7 @@
<p>
Please be careful when uploading these logs to a public server since they may contain sensitive information.
</p>
<a class="btn btn-primary pull-right" ng-href="/logs.html?taskId={{createBackup.taskId}}" ng-enabled="createBackup.taskId" target="_blank">Show Logs</a>
<a class="btn btn-primary pull-right" ng-href="/logs.html?taskId={{createBackup.taskId}}" ng-disabled="!createBackup.taskId" target="_blank">Show Logs</a>
</div>
</div>
</div>