fix commit changes state

This commit is contained in:
Nikita Galaiko 2023-03-31 17:16:47 +02:00
parent de015d2f8c
commit ccafdd325b

View File

@ -152,7 +152,11 @@
</span>
</div>
</Tooltip>
<Button role="primary" href="/projects/{$project?.id}/commit">Commit changes</Button>
<Button
disabled={$statuses.length === 0}
role="primary"
href="/projects/{$project?.id}/commit">Commit changes</Button
>
</div>
{#if $statuses.length === 0}