Remove Namespace filter from ItemListLayout (#2952)

This commit is contained in:
Sebastian Malton authored and GitHub committed 2021-06-07 08:13:26 -04:00
1 parent d21f99e609
commit cb4a7497dd
5 files changed
+2 -162

No files matched your search

@@ -26,8 +26,6 @@ import { observer } from "mobx-react";
import { components, PlaceholderProps } from "react-select";
import { Icon } from "../icon";
import { FilterIcon } from "../item-object-list/filter-icon";
import { FilterType } from "../item-object-list/page-filters.store";
import { NamespaceSelect } from "./namespace-select";
import { namespaceStore } from "./namespace.store";
@@ -63,7 +61,7 @@ export class NamespaceSelectFilter extends React.Component<SelectProps> {
return (
<div className="flex gaps align-center">
<FilterIcon type={FilterType.NAMESPACE}/>
<Icon small material="layers" />
<span>{namespace}</span>
{isSelected && <Icon small material="check" className="box right"/>}
</div>