Compare commits

..

1 commit

Author SHA1 Message Date
74be711d2b
feat(slot blocking): add buttons to sidebar
All checks were successful
container-scan / Container Scan (pull_request) Successful in 2m40s
docker-build / docker (pull_request) Successful in 3m44s
tests / Tests (pull_request) Successful in 3m31s
2025-06-30 23:54:24 +02:00

View file

@ -155,9 +155,7 @@ export default function BlockedSlotForm({
</div> </div>
<div className='items-center ml-auto mr-auto max-sm:mb-6 max-sm:w-full max-sm:flex max-sm:justify-center'> <div className='items-center ml-auto mr-auto max-sm:mb-6 max-sm:w-full max-sm:flex max-sm:justify-center'>
<h1 className='text-center'> <h1 className='text-center'>
{existingBlockedSlotId {existingBlockedSlotId ? 'Update Blocker' : 'Create Blocker'}
? 'Update Blocker'
: 'Create Blocker'}
</h1> </h1>
</div> </div>
<div className='w-0 sm:w-[100px]'></div> <div className='w-0 sm:w-[100px]'></div>
@ -216,9 +214,7 @@ export default function BlockedSlotForm({
formStateCreate.isSubmitting || formStateUpdate.isSubmitting formStateCreate.isSubmitting || formStateUpdate.isSubmitting
} }
> >
{existingBlockedSlotId {existingBlockedSlotId ? 'Update Blocker' : 'Create Blocker'}
? 'Update Blocker'
: 'Create Blocker'}
</Button> </Button>
{existingBlockedSlotId && ( {existingBlockedSlotId && (
<Button <Button