FIX: title should attempt to fallback to label before name (#9739)

FIX: title should attempt to fallback to label before name (#9739)

diff --git a/app/assets/javascripts/select-kit/components/selected-name.js b/app/assets/javascripts/select-kit/components/selected-name.js
index ac23c16..e3377d1 100644
--- a/app/assets/javascripts/select-kit/components/selected-name.js
+++ b/app/assets/javascripts/select-kit/components/selected-name.js
@@ -40,7 +40,9 @@ export default Component.extend(UtilsMixin, {
   }),
 
   title: computed("item", function() {
-    return this._safeProperty("title", this.item) || this.name || "";
+    return (
+      this._safeProperty("title", this.item) || this.label || this.name || ""
+    );
   }),
 
   label: computed("title", "name", function() {

GitHub sha: c6bf552c

This commit appears in #9739 which was approved by eviltrout. It was merged by jjaffeux.