mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-12-22 08:19:47 +01:00
Use preselected value with translation key for namespace filter / improve translations
This commit is contained in:
committed by
René Pfeuffer
parent
237c48356a
commit
fd79107468
@@ -36,7 +36,6 @@ type Props = {
|
||||
label?: string;
|
||||
testId?: string;
|
||||
searchPlaceholder?: string;
|
||||
filterPlaceholder?: string;
|
||||
};
|
||||
|
||||
const OverviewPageActions: FC<Props> = ({
|
||||
@@ -47,8 +46,7 @@ const OverviewPageActions: FC<Props> = ({
|
||||
groupSelected,
|
||||
label,
|
||||
testId,
|
||||
searchPlaceholder,
|
||||
filterPlaceholder
|
||||
searchPlaceholder
|
||||
}) => {
|
||||
const history = useHistory();
|
||||
const location = useLocation();
|
||||
@@ -59,7 +57,6 @@ const OverviewPageActions: FC<Props> = ({
|
||||
options={groups}
|
||||
preselectedOption={currentGroup}
|
||||
optionSelected={groupSelected}
|
||||
placeholder={filterPlaceholder}
|
||||
/>
|
||||
</div>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user