fix button states

This commit is contained in:
Pavel Laptev 2024-10-21 11:54:39 +02:00
parent eba7f9c388
commit abdee0e5d0

View File

@ -409,7 +409,7 @@
? 'You must have summary generation enabled'
: undefined}
disabled={!canUseAI || aiIsLoading}
isLoading={aiIsLoading}
loading={aiIsLoading}
onclick={handleAIButtonPressed}
>
Generate description
@ -433,7 +433,7 @@
bind:this={createPrDropDown}
style="pop"
kind="solid"
disabled={isLoading || aiIsLoading}
disabled={isLoading || aiIsLoading || !actualTitle}
loading={isLoading}
type="submit"
onclick={async () => await handleCreatePR(close)}