Compare commits

..

1 commit

Author SHA1 Message Date
c00063bddd
feat(slot blocking): add buttons to sidebar
Some checks failed
container-scan / Container Scan (pull_request) Failing after 32s
docker-build / docker (pull_request) Successful in 3m38s
tests / Tests (pull_request) Failing after 2m23s
2025-06-30 23:52:53 +02:00

View file

@ -155,7 +155,9 @@ export default function BlockedSlotForm({
</div>
<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'>
{existingBlockedSlotId ? 'Update Blocker' : 'Create Blocker'}
{existingBlockedSlotId
? 'Update Blocker'
: 'Create Blocker'}
</h1>
</div>
<div className='w-0 sm:w-[100px]'></div>
@ -214,7 +216,9 @@ export default function BlockedSlotForm({
formStateCreate.isSubmitting || formStateUpdate.isSubmitting
}
>
{existingBlockedSlotId ? 'Update Blocker' : 'Create Blocker'}
{existingBlockedSlotId
? 'Update Blocker'
: 'Create Blocker'}
</Button>
{existingBlockedSlotId && (
<Button