1
1
mirror of https://github.com/pterodactyl/panel.git synced 2024-11-26 02:52:30 +01:00

Merge branch 'develop' into xtermstuff

This commit is contained in:
Charles Morgan 2020-10-14 11:42:01 -04:00 committed by GitHub
commit 28844bf62c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,7 +9,7 @@ import FlashMessageRender from '@/components/FlashMessageRender';
import getServerSubusers from '@/api/server/users/getServerSubusers';
import { httpErrorToHuman } from '@/api/http';
import Can from '@/components/elements/Can';
import PageContentBlock from '@/components/elements/PageContentBlock';
import ServerContentBlock from '@/components/elements/ServerContentBlock';
import tw from 'twin.macro';
export default () => {
@ -48,7 +48,7 @@ export default () => {
}
return (
<PageContentBlock title={'Subusers'}>
<ServerContentBlock title={'Subusers'}>
<FlashMessageRender byKey={'users'} css={tw`mb-4`}/>
{!subusers.length ?
<p css={tw`text-center text-sm text-neutral-400`}>
@ -64,6 +64,6 @@ export default () => {
<AddSubuserButton/>
</div>
</Can>
</PageContentBlock>
</ServerContentBlock>
);
};