From 8c4e0998145890bc56601e4eb4f040eb335b331e Mon Sep 17 00:00:00 2001 From: Falk Date: Thu, 23 Dec 2021 16:27:33 +0100 Subject: [PATCH] fix: replace deprecated hasBlock helper --- addon/templates/components/one-way-select.hbs | 4 ++-- addon/templates/components/one-way-select/option.hbs | 2 +- package-lock.json | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/addon/templates/components/one-way-select.hbs b/addon/templates/components/one-way-select.hbs index 77be77c..f8c58c0 100644 --- a/addon/templates/components/one-way-select.hbs +++ b/addon/templates/components/one-way-select.hbs @@ -9,7 +9,7 @@ {{#each this.optionGroups as |optionGroup groupIndex|}} {{#each optionGroup.options as |option index|}} - {{#if hasBlock}} + {{#if (has-block)}} - {{#if hasBlock}} + {{#if (has-block)}} {{yield}} {{else if @optionComponent}} {{component @optionComponent diff --git a/package-lock.json b/package-lock.json index 6562699..20b08e0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5898,9 +5898,9 @@ } }, "caniuse-lite": { - "version": "1.0.30001154", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001154.tgz", - "integrity": "sha512-y9DvdSti8NnYB9Be92ddMZQrcOe04kcQtcxtBx4NkB04+qZ+JUWotnXBJTmxlKudhxNTQ3RRknMwNU2YQl/Org==" + "version": "1.0.30001292", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001292.tgz", + "integrity": "sha512-jnT4Tq0Q4ma+6nncYQVe7d73kmDmE9C3OGTx3MvW7lBM/eY1S1DZTMBON7dqV481RhNiS5OxD7k9JQvmDOTirw==" }, "capture-exit": { "version": "2.0.0",