mirror of
https://github.com/apache/superset.git
synced 2024-09-06 05:47:43 -04:00
refactor(frontend): Make dashboard search box the first filter (#19721)
This commit is contained in:
parent
60a617eaba
commit
08f2c9b305
@ -463,6 +463,13 @@ function DashboardList(props: DashboardListProps) {
|
||||
|
||||
const filters: Filters = useMemo(
|
||||
() => [
|
||||
{
|
||||
Header: t('Search'),
|
||||
key: 'search',
|
||||
id: 'dashboard_title',
|
||||
input: 'search',
|
||||
operator: FilterOperator.titleOrSlug,
|
||||
},
|
||||
{
|
||||
Header: t('Owner'),
|
||||
key: 'owner',
|
||||
@ -533,13 +540,6 @@ function DashboardList(props: DashboardListProps) {
|
||||
{ label: t('No'), value: false },
|
||||
],
|
||||
},
|
||||
{
|
||||
Header: t('Search'),
|
||||
key: 'search',
|
||||
id: 'dashboard_title',
|
||||
input: 'search',
|
||||
operator: FilterOperator.titleOrSlug,
|
||||
},
|
||||
],
|
||||
[addDangerToast, favoritesFilter, props.user],
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user