From 7894c8474b029f47ebe0488d24e7ce4355d2d55b Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Wed, 2 Sep 2020 18:34:17 +0200 Subject: [PATCH] Sometimes 'error' is empty despite success:false ... so rely on the value of success instead --- src/views/tools/tools_log.ms | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/tools/tools_log.ms b/src/views/tools/tools_log.ms index d4700666..0d292f9d 100644 --- a/src/views/tools/tools_log.ms +++ b/src/views/tools/tools_log.ms @@ -27,11 +27,11 @@ -{{#if log.metadata.error}} +{{#unless log.metadata.success}}

{{t 'operation_failed_explanation'}}

-{{/if}} +{{/unless}}