aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/apps/projects/components/PageHeader.js
diff options
context:
space:
mode:
authorGrégoire Aubert <gregoire.aubert@sonarsource.com>2017-06-13 11:15:52 +0200
committerGrégoire Aubert <gregoire.aubert@sonarsource.com>2017-07-04 14:15:34 +0200
commit47b553e761f7e061cdce150003123f1f5de724be (patch)
treedf209129f10f5f448acaf32ffbc119e0f80050f3 /server/sonar-web/src/main/js/apps/projects/components/PageHeader.js
parentab94fb19012b9686efeef543909d2b555fcf8c42 (diff)
downloadsonarqube-47b553e761f7e061cdce150003123f1f5de724be.tar.gz
sonarqube-47b553e761f7e061cdce150003123f1f5de724be.zip
SONAR-9401 Remove usage of redux on the project activity page
* Create a query helper library and use it in issues page and project activity page
Diffstat (limited to 'server/sonar-web/src/main/js/apps/projects/components/PageHeader.js')
-rw-r--r--server/sonar-web/src/main/js/apps/projects/components/PageHeader.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/server/sonar-web/src/main/js/apps/projects/components/PageHeader.js b/server/sonar-web/src/main/js/apps/projects/components/PageHeader.js
index dc1aa2de123..356690901e6 100644
--- a/server/sonar-web/src/main/js/apps/projects/components/PageHeader.js
+++ b/server/sonar-web/src/main/js/apps/projects/components/PageHeader.js
@@ -25,6 +25,7 @@ import Tooltip from '../../../components/controls/Tooltip';
import PerspectiveSelect from './PerspectiveSelect';
import ProjectsSortingSelect from './ProjectsSortingSelect';
import { translate } from '../../../helpers/l10n';
+import type { RawQuery } from '../../../helpers/query';
type Props = {|
currentUser?: { isLoggedIn: boolean },
@@ -33,7 +34,7 @@ type Props = {|
organization?: { key: string },
projects: Array<*>,
projectsAppState: { loading: boolean, total?: number },
- query: { [string]: string },
+ query: RawQuery,
onSortChange: (sort: string, desc: boolean) => void,
selectedSort: string,
view: string,