diff --git a/src/components/common/ServerHeader.tsx b/src/components/common/ServerHeader.tsx index 9484baa9..9b5381a6 100644 --- a/src/components/common/ServerHeader.tsx +++ b/src/components/common/ServerHeader.tsx @@ -85,59 +85,53 @@ export default observer(({ server }: Props) => { background: bannerURL ? `url('${bannerURL}')` : undefined, }}>
-
- {server.flags && server.flags & 1 ? ( - - } - placement={"bottom-start"}> - - + } + placement={"bottom-start"}> + + + + + + ) : undefined} + {server.flags && server.flags & 2 ? ( + + } + placement={"bottom-start"}> + + + + - - - - ) : undefined} - {server.flags && server.flags & 2 ? ( - - } - placement={"bottom-start"}> - - - - - - - - ) : undefined} - + + + + ) : undefined}
{server.name}
{(server.permission & ServerPermission.ManageServer) > 0 && (
@@ -150,63 +144,5 @@ export default observer(({ server }: Props) => { )}
- /*
- {server.flags && server.flags & 1 ? ( - } - placement={"bottom-start"}> - - - - - - ) : undefined} - {server.flags && server.flags & 2 ? ( - } - placement={"bottom-start"}> - - - - - - - - ) : undefined} - - {server.name} - {(server.permission & ServerPermission.ManageServer) > 0 && ( -
- - - - - -
- )} - */ ); });