mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-10 07:25:44 +01:00
removed unnecessary expression
This commit is contained in:
@@ -40,7 +40,7 @@ const BranchSelector: FC<Props> = ({ branches, onSelectBranch, selectedBranch, l
|
|||||||
options={branches.map(b => b.name)}
|
options={branches.map(b => b.name)}
|
||||||
optionSelected={branch => onSelectBranch(branches.filter(b => b.name === branch)[0])}
|
optionSelected={branch => onSelectBranch(branches.filter(b => b.name === branch)[0])}
|
||||||
disabled={!!disabled}
|
disabled={!!disabled}
|
||||||
preselectedOption={selectedBranch && selectedBranch}
|
preselectedOption={selectedBranch}
|
||||||
/>
|
/>
|
||||||
</MinWidthControl>
|
</MinWidthControl>
|
||||||
</NoBottomMarginField>
|
</NoBottomMarginField>
|
||||||
|
|||||||
Reference in New Issue
Block a user