From 4f41eaf88fcb657176827e7eb6fbe06431cc3da9 Mon Sep 17 00:00:00 2001 From: John Cowen Date: Mon, 5 Sep 2022 19:17:33 +0100 Subject: [PATCH] ui: Additionally use message for displaying errors in DataWriter (#14074) --- ui/packages/consul-ui/app/components/data-writer/index.hbs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ui/packages/consul-ui/app/components/data-writer/index.hbs b/ui/packages/consul-ui/app/components/data-writer/index.hbs index 5f0ecdfcdb..36f418459b 100644 --- a/ui/packages/consul-ui/app/components/data-writer/index.hbs +++ b/ui/packages/consul-ui/app/components/data-writer/index.hbs @@ -108,6 +108,8 @@ as |after|}} There was an error saving your {{or label type}}. {{#if (and api.error.status api.error.detail)}}
{{api.error.status}}: {{api.error.detail}} + {{else if api.error.message}} +
{{api.error.message}} {{/if}}