Merge branch 'main' into subscribe-fix

This commit is contained in:
SleeplessOne1917 2023-06-27 19:28:52 -04:00 committed by GitHub
commit cf26c3d8e9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 7 deletions

View file

@ -322,7 +322,7 @@ export class CommentNode extends Component<CommentNodeProps, CommentNodeState> {
getRoleLabelPill({
label: I18NextService.i18n.t("op").toUpperCase(),
tooltip: I18NextService.i18n.t("creator"),
classes: "text-bg-info text-black",
classes: "text-bg-info",
shrink: false,
})}
@ -330,14 +330,14 @@ export class CommentNode extends Component<CommentNodeProps, CommentNodeState> {
getRoleLabelPill({
label: I18NextService.i18n.t("mod"),
tooltip: I18NextService.i18n.t("mod"),
classes: "text-bg-primary text-black",
classes: "text-bg-primary",
})}
{isAdmin_ &&
getRoleLabelPill({
label: I18NextService.i18n.t("admin"),
tooltip: I18NextService.i18n.t("admin"),
classes: "text-bg-danger text-white",
classes: "text-bg-danger",
})}
{cv.creator.bot_account &&

View file

@ -489,7 +489,7 @@ export class Profile extends Component<
{getRoleLabelPill({
label: I18NextService.i18n.t("banned"),
tooltip: I18NextService.i18n.t("banned"),
classes: "text-bg-danger text-white",
classes: "text-bg-danger",
shrink: false,
})}
</li>
@ -499,7 +499,7 @@ export class Profile extends Component<
{getRoleLabelPill({
label: I18NextService.i18n.t("deleted"),
tooltip: I18NextService.i18n.t("deleted"),
classes: "text-bg-danger text-white",
classes: "text-bg-danger",
shrink: false,
})}
</li>

View file

@ -412,13 +412,13 @@ export class PostListing extends Component<PostListingProps, PostListingState> {
getRoleLabelPill({
label: I18NextService.i18n.t("mod"),
tooltip: I18NextService.i18n.t("mod"),
classes: "text-bg-primary text-black",
classes: "text-bg-primary",
})}
{this.creatorIsAdmin_ &&
getRoleLabelPill({
label: I18NextService.i18n.t("admin"),
tooltip: I18NextService.i18n.t("admin"),
classes: "text-bg-danger text-white",
classes: "text-bg-danger",
})}
{post_view.creator.bot_account &&
getRoleLabelPill({