Also hide power buttons
This commit is contained in:
parent
b623902c19
commit
723dc7a53d
1 changed files with 5 additions and 3 deletions
|
@ -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'}>
|
||||||
<Can action={['control.start', 'control.stop', 'control.restart']} matchAny>
|
{!isSuspended && (
|
||||||
<PowerButtons className={'flex sm:justify-end space-x-2'} />
|
<Can action={['control.start', 'control.stop', 'control.restart']} matchAny>
|
||||||
</Can>
|
<PowerButtons className={'flex sm:justify-end space-x-2'} />
|
||||||
|
</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'}>
|
||||||
|
|
Loading…
Reference in a new issue