]> Untitled Git - lemmy-ui.git/commitdiff
Show deleted on profile page. Fixes #834 (#859)
authorDessalines <dessalines@users.noreply.github.com>
Fri, 18 Nov 2022 01:58:43 +0000 (20:58 -0500)
committerGitHub <noreply@github.com>
Fri, 18 Nov 2022 01:58:43 +0000 (20:58 -0500)
src/shared/components/person/profile.tsx

index 94d014b0558acb4505dcee842bc264eaae338823..7f677f2a8260a225b6f2db8b94a31b9b2022b261 100644 (file)
@@ -429,6 +429,11 @@ export class Profile extends Component<any, ProfileState> {
                           {i18n.t("banned")}
                         </li>
                       )}
+                      {pv.person.deleted && (
+                        <li className="list-inline-item badge badge-danger">
+                          {i18n.t("deleted")}
+                        </li>
+                      )}
                       {pv.person.admin && (
                         <li className="list-inline-item badge badge-light">
                           {i18n.t("admin")}