From fbd0d47fcef4123b228a1935affaeabfa03578f6 Mon Sep 17 00:00:00 2001 From: Robin Ward Date: Thu, 4 Jan 2018 14:08:21 -0500 Subject: [PATCH] FIX: Don't raise error if I18n key is not found --- app/assets/javascripts/select-kit/components/select-kit.js.es6 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/select-kit/components/select-kit.js.es6 b/app/assets/javascripts/select-kit/components/select-kit.js.es6 index 0e7546bae81..94901a5b70d 100644 --- a/app/assets/javascripts/select-kit/components/select-kit.js.es6 +++ b/app/assets/javascripts/select-kit/components/select-kit.js.es6 @@ -192,7 +192,7 @@ export default Ember.Component.extend(UtilsMixin, PluginApiMixin, DomHelpersMixi switch (typeof none) { case "string": return this.computeContentItem(this.noneValue, { - name: I18n.t(none).htmlSafe() + name: (I18n.t(none) || "").htmlSafe() }); default: return this.computeContentItem(none);