X-Git-Url: http://these/git/?a=blobdiff_plain;f=src%2Fshared%2Fcomponents%2Fperson%2Fprofile.tsx;h=cc334db5ee5449381c02fad9fa08981e879ae754;hb=9869b911cf480ee88c7b1e7d2f689cc2e1c65157;hp=622e9312555d39060cf628f121f5388edf21f03c;hpb=d62424d491cd799794fbfc2cdbbc907a2bcd56b5;p=lemmy-ui.git diff --git a/src/shared/components/person/profile.tsx b/src/shared/components/person/profile.tsx index 622e931..cc334db 100644 --- a/src/shared/components/person/profile.tsx +++ b/src/shared/components/person/profile.tsx @@ -84,6 +84,7 @@ import { HtmlTags } from "../common/html-tags"; import { Icon, Spinner } from "../common/icon"; import { MomentTime } from "../common/moment-time"; import { SortSelect } from "../common/sort-select"; +import { UserBadges } from "../common/user-badges"; import { CommunityLink } from "../community/community-link"; import { PersonDetails } from "./person-details"; import { PersonListing } from "./person-listing"; @@ -483,26 +484,15 @@ export class Profile extends Component< hideAvatar /> - {isBanned(pv.person) && ( -
  • - {I18NextService.i18n.t("banned")} -
  • - )} - {pv.person.deleted && ( -
  • - {I18NextService.i18n.t("deleted")} -
  • - )} - {pv.person.admin && ( -
  • - {I18NextService.i18n.t("admin")} -
  • - )} - {pv.person.bot_account && ( -
  • - {I18NextService.i18n.t("bot_account").toLowerCase()} -
  • - )} +
  • + +
  • {this.banDialog(pv)} @@ -692,6 +682,8 @@ export class Profile extends Component< > {I18NextService.i18n.t("cancel")} + +