Sometimes 'error' is empty despite success:false ... so rely on the value of success instead

This commit is contained in:
Alexandre Aubin 2020-09-02 18:34:17 +02:00
parent 7e03213957
commit 7894c8474b

View file

@ -27,11 +27,11 @@
</div> </div>
</div> </div>
{{#if log.metadata.error}} {{#unless log.metadata.success}}
<div class="alert alert-danger text-center"> <div class="alert alert-danger text-center">
<p>{{t 'operation_failed_explanation'}}</p> <p>{{t 'operation_failed_explanation'}}</p>
</div> </div>
{{/if}} {{/unless}}
<!-- <!--
{{#if log.metadata.env}} {{#if log.metadata.env}}