FIX: sets a title for notifications button (#9745)

FIX: sets a title for notifications button (#9745)

diff --git a/app/assets/javascripts/select-kit/components/notifications-button.js b/app/assets/javascripts/select-kit/components/notifications-button.js
index f52b544..abf02da 100644
--- a/app/assets/javascripts/select-kit/components/notifications-button.js
+++ b/app/assets/javascripts/select-kit/components/notifications-button.js
@@ -22,10 +22,12 @@ export default DropdownSelectBoxComponent.extend({
   modifySelection(content) {
     content = content || {};
     const { i18nPrefix, i18nPostfix } = this.selectKit.options;
+    const title = I18n.t(
+      `${i18nPrefix}.${this.buttonForValue.key}${i18nPostfix}.title`
+    );
     setProperties(content, {
-      label: I18n.t(
-        `${i18nPrefix}.${this.buttonForValue.key}${i18nPostfix}.title`
-      ),
+      title,
+      label: title,
       icon: this.buttonForValue.icon
     });
     return content;

GitHub sha: af6e61de

This commit appears in #9745 which was merged by jjaffeux.