mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-12-24 01:51:57 +03:00
fix button states
This commit is contained in:
parent
eba7f9c388
commit
abdee0e5d0
@ -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)}
|
||||
|
Loading…
Reference in New Issue
Block a user