Skip to content

Commit

Permalink
fix: When click on "View all" from favorite tab, get error (apache#16988
Browse files Browse the repository at this point in the history
)
  • Loading branch information
michael-s-molina authored Oct 6, 2021
1 parent 0b7704a commit c577191
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion superset-frontend/src/views/CRUD/welcome/ChartTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ function ChartTable({
onClick: () => {
const target =
chartFilter === 'Favorite'
? '/chart/list/?filters=(favorite:!t)'
? '/chart/list/?filters=(favorite:(label:Yes,value:!t))'
: '/chart/list/';
history.push(target);
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ function DashboardTable({
onClick: () => {
const target =
dashboardFilter === 'Favorite'
? '/dashboard/list/?filters=(favorite:!t)'
? '/dashboard/list/?filters=(favorite:(label:Yes,value:!t))'
: '/dashboard/list/';
history.push(target);
},
Expand Down

0 comments on commit c577191

Please sign in to comment.