From d16a9d2d12a656a9a64e8f53675331b2a12d7c6d Mon Sep 17 00:00:00 2001 From: Stephan Hug Date: Fri, 6 Dec 2024 14:52:33 +0100 Subject: [PATCH] feat(distribution): show tooltip for disabled distrubution types --- .../components/cd-inquiry-new-form/select.hbs | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/packages/distribution/addon/components/cd-inquiry-new-form/select.hbs b/packages/distribution/addon/components/cd-inquiry-new-form/select.hbs index 8116124bc..13b4527eb 100644 --- a/packages/distribution/addon/components/cd-inquiry-new-form/select.hbs +++ b/packages/distribution/addon/components/cd-inquiry-new-form/select.hbs @@ -1,14 +1,22 @@ {{#unless this.showAllServices}}
{{#each-in this.config.new.types as |slug config|}} - {{#unless config.disabled}} + {{#if config.notAvailableText}} - {{/unless}} + {{else}} + {{#unless config.disabled}} + + {{/unless}} + {{/if}} {{/each-in}}
{{/unless}}