fix
This commit is contained in:
parent
b5a6167202
commit
b6a896558e
5 changed files with 8 additions and 39 deletions
|
@ -699,20 +699,3 @@ export function getLanguageChooser(t) {
|
|||
return languageChooser;
|
||||
}
|
||||
|
||||
export function getNamespaceChooser(t) {
|
||||
|
||||
const namespaceOptions = [];
|
||||
namespaceOptions.push(
|
||||
<DropdownLink to={`/campaigns`}>{t('All')}</DropdownLink>,
|
||||
<DropdownLink to={`/campaigns?namespace=1`}>{t('Root')}</DropdownLink>
|
||||
)
|
||||
|
||||
|
||||
const namespaceChooser = (
|
||||
<ButtonDropdown buttonClassName="btn-primary" menuClassName="dropdown-menu-right" label={t('namespaceFilter')}>
|
||||
{namespaceOptions}
|
||||
</ButtonDropdown>
|
||||
);
|
||||
|
||||
return namespaceChooser;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue