mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-11-26 12:24:26 +03:00
🔧 fix: disable action button when branch has no files or is not active
This commit is contained in:
parent
69e15844d9
commit
e3c257cb26
@ -45,7 +45,7 @@
|
||||
dispatch('action', 'generate-branch-name');
|
||||
visible = false;
|
||||
}}
|
||||
disabled={!$aiGenEnabled}
|
||||
disabled={!$aiGenEnabled || branch.files?.length == 0 || !branch.active}
|
||||
/>
|
||||
</ContextMenuSection>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user