Skip to content

Commit

Permalink
fix: archived persistence (#3802)
Browse files Browse the repository at this point in the history
  • Loading branch information
kyle-ssg authored Apr 18, 2024
1 parent e138b4e commit 40363dc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion frontend/web/components/pages/FeaturesPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ const FeaturesPage = class extends Component {
: [],
page: params.page ? parseInt(params.page) - 1 : 1,
search: params.search || null,
showArchived: !!params.is_archived,
showArchived: params.is_archived === 'true',
sort: {
label: Format.camelCase(params.sortBy || 'Name'),
sortBy: params.sortBy || 'name',
Expand Down
2 changes: 1 addition & 1 deletion frontend/web/components/pages/UserPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ const UserPage = class extends Component {
page: params.page ? parseInt(params.page) - 1 : 1,
preselect: Utils.fromParam().flag,
search: params.search || null,
showArchived: !!params.is_archived,
showArchived: params.is_archived === 'true',
sort: {
label: Format.camelCase(params.sortBy || 'Name'),
sortBy: params.sortBy || 'name',
Expand Down

0 comments on commit 40363dc

Please sign in to comment.