Skip to content

Commit

Permalink
Run Prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
pmusaraj committed Jun 14, 2019
1 parent 50227ca commit dd124b3
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@ function attachAkismetReviewCount(api) {
badgeClass: "flagged-posts"
});
});
};
}

function subscribeToReviewCount(messageBus, user) {
messageBus.subscribe("/akismet_counts", function(result) {
if (result) {
user.set("akismet_review_count", result.akismet_review_count || 0);
};
}
});
};
}

export default {
name: "add-akismet-count",
Expand All @@ -34,7 +34,7 @@ export default {

const messageBus = container.lookup("message-bus:main");
subscribeToReviewCount(messageBus, user);
};
};
}
}
}
};
6 changes: 4 additions & 2 deletions assets/stylesheets/reviewable-akismet-post-styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,10 @@
}
}

.reviewable-akismet-post, .reviewable-akismet-user {
.confirm-delete, .reject-user-delete {
.reviewable-akismet-post,
.reviewable-akismet-user {
.confirm-delete,
.reject-user-delete {
@extend .btn-danger;
}
}

0 comments on commit dd124b3

Please sign in to comment.