From cd94c9bfa496d89f327de72e172bc92f1a497961 Mon Sep 17 00:00:00 2001 From: illuzn <57167030+illuzn@users.noreply.github.com> Date: Fri, 12 Jul 2024 23:00:23 +0930 Subject: [PATCH 1/3] Update docs to reflect show_empty functionality --- source/_dashboards/markdown.markdown | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/source/_dashboards/markdown.markdown b/source/_dashboards/markdown.markdown index d6145a082b24..a0948498e968 100644 --- a/source/_dashboards/markdown.markdown +++ b/source/_dashboards/markdown.markdown @@ -53,6 +53,11 @@ theme: required: false description: Override the used theme for this card with any loaded theme. For more information about themes, see the [frontend documentation](/integrations/frontend/). type: string +show_empty: + required: false + description: By default, an empty card will still be shown (resulting in a small empty box). Setting this to `true`, hides that empty card instead. + default: true + type: string {% endconfiguration %} ### Example From 894751e22055921fbe984ea783ca51b940adf9e5 Mon Sep 17 00:00:00 2001 From: illuzn <57167030+illuzn@users.noreply.github.com> Date: Fri, 12 Jul 2024 23:11:50 +0930 Subject: [PATCH 2/3] Correct typo --- source/_dashboards/markdown.markdown | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/_dashboards/markdown.markdown b/source/_dashboards/markdown.markdown index a0948498e968..e28bfbb272fc 100644 --- a/source/_dashboards/markdown.markdown +++ b/source/_dashboards/markdown.markdown @@ -55,9 +55,9 @@ theme: type: string show_empty: required: false - description: By default, an empty card will still be shown (resulting in a small empty box). Setting this to `true`, hides that empty card instead. + description: By default, an empty card will still be shown (resulting in a small empty box). Setting this to `false`, hides that empty card instead. default: true - type: string + type: boolean {% endconfiguration %} ### Example From 10ace16c2cd8653a2df0ecaa2559ffd575f40dbb Mon Sep 17 00:00:00 2001 From: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com> Date: Thu, 18 Jul 2024 10:43:04 +0200 Subject: [PATCH 3/3] tiny tweak --- source/_dashboards/markdown.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/_dashboards/markdown.markdown b/source/_dashboards/markdown.markdown index e28bfbb272fc..a940c1cf17e7 100644 --- a/source/_dashboards/markdown.markdown +++ b/source/_dashboards/markdown.markdown @@ -55,7 +55,7 @@ theme: type: string show_empty: required: false - description: By default, an empty card will still be shown (resulting in a small empty box). Setting this to `false`, hides that empty card instead. + description: By default, an empty card will still be shown (resulting in a small empty box). Setting this to `false` hides that empty card instead. default: true type: boolean {% endconfiguration %}