web: use window.location in TableFilters to keep sub-url path
This change fixes url update of TableFilters (e.g. the builds page) where the location props doesn't take into account sub-url deployment. Change-Id: If09d37106b49a0e2c50ec81eeb101ed24bcbd2da
This commit is contained in:
parent
be64ed2777
commit
c119c9a678
|
@ -41,7 +41,7 @@ class TableFilters extends React.Component {
|
|||
}
|
||||
|
||||
updateUrl (activeFilters) {
|
||||
let path = this.props.location.pathname
|
||||
let path = window.location.pathname
|
||||
if (activeFilters.length > 0) {
|
||||
path += '?'
|
||||
activeFilters.forEach((item, idx) => {
|
||||
|
|
Loading…
Reference in New Issue