mirror of
https://github.com/YunoHost/yunohost-admin.git
synced 2024-09-03 20:06:15 +02:00
Sometimes 'error' is empty despite success:false ... so rely on the value of success instead
This commit is contained in:
parent
7e03213957
commit
7894c8474b
1 changed files with 2 additions and 2 deletions
|
@ -27,11 +27,11 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
{{#if log.metadata.error}}
|
||||
{{#unless log.metadata.success}}
|
||||
<div class="alert alert-danger text-center">
|
||||
<p>{{t 'operation_failed_explanation'}}</p>
|
||||
</div>
|
||||
{{/if}}
|
||||
{{/unless}}
|
||||
|
||||
<!--
|
||||
{{#if log.metadata.env}}
|
||||
|
|
Loading…
Reference in a new issue