Also hide power buttons

This commit is contained in:
Lance Pioch 2022-11-08 21:14:36 -05:00
parent b623902c19
commit 723dc7a53d

View file

@ -44,9 +44,11 @@ const ServerConsoleContainer = () => {
<p className={'text-sm line-clamp-2'}>{description}</p> <p className={'text-sm line-clamp-2'}>{description}</p>
</div> </div>
<div className={'col-span-4 sm:col-span-2 lg:col-span-1 self-end'}> <div className={'col-span-4 sm:col-span-2 lg:col-span-1 self-end'}>
{!isSuspended && (
<Can action={['control.start', 'control.stop', 'control.restart']} matchAny> <Can action={['control.start', 'control.stop', 'control.restart']} matchAny>
<PowerButtons className={'flex sm:justify-end space-x-2'} /> <PowerButtons className={'flex sm:justify-end space-x-2'} />
</Can> </Can>
)}
</div> </div>
</div> </div>
<div className={'grid grid-cols-4 gap-2 sm:gap-4 mb-4'}> <div className={'grid grid-cols-4 gap-2 sm:gap-4 mb-4'}>