From d81f8ea3786dac88d86c33f2e6ed37bf3cb89510 Mon Sep 17 00:00:00 2001 From: OsamaSayegh Date: Tue, 26 Jun 2018 15:31:43 +0300 Subject: [PATCH] fix prettier --- .../select-kit/components/notifications-button.js.es6 | 4 +++- .../components/topic-notifications-button-test.js.es6 | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/app/assets/javascripts/select-kit/components/notifications-button.js.es6 b/app/assets/javascripts/select-kit/components/notifications-button.js.es6 index dc9f3a1eeb2..f2b11bcb0ae 100644 --- a/app/assets/javascripts/select-kit/components/notifications-button.js.es6 +++ b/app/assets/javascripts/select-kit/components/notifications-button.js.es6 @@ -29,7 +29,9 @@ export default DropdownSelectBoxComponent.extend({ computeHeaderContent() { let content = this._super(); content.name = I18n.t( - `${this.get("i18nPrefix")}.${this.get("selectedDetails.key")}${this.get("i18nPostfix")}.title` + `${this.get("i18nPrefix")}.${this.get("selectedDetails.key")}${this.get( + "i18nPostfix" + )}.title` ); content.hasSelection = this.get("hasSelection"); return content; diff --git a/test/javascripts/components/topic-notifications-button-test.js.es6 b/test/javascripts/components/topic-notifications-button-test.js.es6 index b53a8cacf01..62d4d10288a 100644 --- a/test/javascripts/components/topic-notifications-button-test.js.es6 +++ b/test/javascripts/components/topic-notifications-button-test.js.es6 @@ -12,7 +12,8 @@ const buildTopic = function(level, archetype = "regular") { }); }; -const originalTranslation = I18n.translations.en.js.topic.notifications.tracking_pm.title; +const originalTranslation = + I18n.translations.en.js.topic.notifications.tracking_pm.title; moduleForComponent("topic-notifications-button", { integration: true,