Revert "Add missing admin action files and navigation links"
This reverts commit 41be6835bf.
This commit is contained in:
1 parent
4a1e1115b3
commit
4d515bc400
338 files changed
+5949
-28144
No files matched your search
@@ -48,7 +48,10 @@ export default async function FriendsPage() {
|
||||
})
|
||||
.catch(() => [])
|
||||
: Promise.resolve([]),
|
||||
siteSettings.get("habbo_imaging_url", "https://www.habbo.com/habbo-imaging/avatarimage"),
|
||||
siteSettings.get(
|
||||
"habbo_imaging_url",
|
||||
"https://www.habbo.com/habbo-imaging/avatarimage",
|
||||
),
|
||||
]);
|
||||
|
||||
return (
|
||||
@@ -56,12 +59,18 @@ export default async function FriendsPage() {
|
||||
<ContentCard
|
||||
icon="🤝"
|
||||
title={t("title")}
|
||||
subtitle={friends.length === 0 ? t("emptySubtitle") : t("subtitle", { count: friends.length })}
|
||||
subtitle={
|
||||
friends.length === 0
|
||||
? t("emptySubtitle")
|
||||
: t("subtitle", { count: friends.length })
|
||||
}
|
||||
/>
|
||||
|
||||
<ContentCard padded={friends.length === 0}>
|
||||
{friends.length === 0 ? (
|
||||
<EmptyState icon="🤝">{t("emptyState")}</EmptyState>
|
||||
<EmptyState icon="🤝">
|
||||
{t("emptyState")}
|
||||
</EmptyState>
|
||||
) : (
|
||||
<div className="card-grid sm-2 lg-3" style={{ padding: "1rem" }}>
|
||||
{friends.map((friend) => {
|
||||
|
||||
Reference in new issue
Block a user