Skip to content

Commit

Permalink
Merge pull request #4151 from greenbone/fix-power-filter-default-user…
Browse files Browse the repository at this point in the history
…-setting

fix: default filter selection in details page
  • Loading branch information
a-h-abdelsalam authored Sep 10, 2024
2 parents 0c4c5a5 + 1bf3c04 commit 39e821a
Show file tree
Hide file tree
Showing 4 changed files with 107 additions and 170 deletions.
3 changes: 1 addition & 2 deletions src/web/entities/filterprovider.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
* SPDX-License-Identifier: AGPL-3.0-or-later
*/


import React from 'react';

import Loading from 'web/components/loading/loading';
Expand All @@ -18,7 +17,7 @@ const FilterProvider = ({
pageName = gmpname,
locationQuery = {},
}) => {
const [returnedFilter, isLoadingFilter] = usePageFilter(pageName, {
const [returnedFilter, isLoadingFilter] = usePageFilter(pageName, gmpname, {
fallbackFilter,
locationQueryFilterString: locationQuery?.filter,
});
Expand Down
Loading

0 comments on commit 39e821a

Please sign in to comment.