Skip to content

Commit

Permalink
fix: disable source locale select on loading
Browse files Browse the repository at this point in the history
  • Loading branch information
ghuisma committed Oct 10, 2024
1 parent 27360e4 commit 4e656e9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion apps/xillio-transcreate/src/locations/Sidebar/Sidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,7 @@ export const SidebarComponent = ({
helpText="Select the locale to translate from"
name="sourceLanguage"
control={control}
disabled={isLoading}
/>

<div
Expand Down Expand Up @@ -208,7 +209,7 @@ export const SidebarComponent = ({
</div>
<ActionsButton
isFullWidth
isDisabled={selected.size === 0}
isDisabled={isLoading || selected.size === 0}
onSelect={handleSelectAction}
onToggleOpen={setIsActionMenuOpen}
actions={actions}
Expand Down

0 comments on commit 4e656e9

Please sign in to comment.