FIX: Prettier changes

FIX: Prettier changes

diff --git a/assets/javascripts/discourse/routes/user-activity-approval-given.js.es6 b/assets/javascripts/discourse/routes/user-activity-approval-given.js.es6
index 8dfb919..2dbea24 100644
--- a/assets/javascripts/discourse/routes/user-activity-approval-given.js.es6
+++ b/assets/javascripts/discourse/routes/user-activity-approval-given.js.es6
@@ -3,7 +3,9 @@ import UserTopicListRoute from "discourse/routes/user-topic-list";
 export default UserTopicListRoute.extend({
   model: function() {
     return this.store.findFiltered("topicList", {
-      filter: `topics/approval-given/${this.modelFor("user").get("username_lower")}`
+      filter: `topics/approval-given/${this.modelFor("user").get(
+        "username_lower"
+      )}`
     });
   }
 });
diff --git a/assets/javascripts/discourse/routes/user-activity-approval-pending.js.es6 b/assets/javascripts/discourse/routes/user-activity-approval-pending.js.es6
index aecd8da..6a1c1bc 100644
--- a/assets/javascripts/discourse/routes/user-activity-approval-pending.js.es6
+++ b/assets/javascripts/discourse/routes/user-activity-approval-pending.js.es6
@@ -3,7 +3,9 @@ import UserTopicListRoute from "discourse/routes/user-topic-list";
 export default UserTopicListRoute.extend({
   model: function() {
     return this.store.findFiltered("topicList", {
-      filter: `topics/approval-pending/${this.modelFor("user").get("username_lower")}`
+      filter: `topics/approval-pending/${this.modelFor("user").get(
+        "username_lower"
+      )}`
     });
   }
 });
diff --git a/assets/javascripts/discourse/widgets/code-review-commit-approved-notification-item.js.es6 b/assets/javascripts/discourse/widgets/code-review-commit-approved-notification-item.js.es6
index d538b92..96aacf5 100644
--- a/assets/javascripts/discourse/widgets/code-review-commit-approved-notification-item.js.es6
+++ b/assets/javascripts/discourse/widgets/code-review-commit-approved-notification-item.js.es6
@@ -4,18 +4,24 @@ import { replaceIcon } from "discourse-common/lib/icon-library";
 
 replaceIcon("notification.code_review_commit_approved", "check");
 
-createWidgetFrom(DefaultNotificationItem, "code-review-commit-approved-notification-item", {
-  title() {
-    return I18n.t("notifications.code_review.commit_approved.title");
-  },
+createWidgetFrom(
+  DefaultNotificationItem,
+  "code-review-commit-approved-notification-item",
+  {
+    title() {
+      return I18n.t("notifications.code_review.commit_approved.title");
+    },
 
-  text(notificationName, data) {
-    const num_approved_commits = data.num_approved_commits;
+    text(notificationName, data) {
+      const num_approved_commits = data.num_approved_commits;
 
-    if (num_approved_commits === 1) {
-      return I18n.t("notifications.code_review.commit_approved.one");
-    } else {
-      return I18n.t("notifications.code_review.commit_approved.many", { num_approved_commits });
+      if (num_approved_commits === 1) {
+        return I18n.t("notifications.code_review.commit_approved.one");
+      } else {
+        return I18n.t("notifications.code_review.commit_approved.many", {
+          num_approved_commits
+        });
+      }
     }
   }
-});
+);

GitHub sha: 81aaedc6

1 Like