import I18n from "I18n";
import Component from "@ember/component";

export default Component.extend({
  tagName: "span",
  classNameBindings: [":topic-post-badges"],
  rerenderTriggers: ["url", "unread", "newPosts", "unseen"],
  newDotText: null,
  init() {
    this._super(...arguments);
    this.set(
      "newDotText",
      this.currentUser && this.currentUser.trust_level > 0
        ? " "
        : I18n.t("filters.new.lower_title")
    );
  }
});
