Skip to content

Commit

Permalink
replace hardcode keystone to path admin variable (#4586)
Browse files Browse the repository at this point in the history
  • Loading branch information
radames authored and Noviny committed Mar 1, 2018
1 parent b847d19 commit 258af8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion admin/client/App/sagas/queryParamsSagas.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export function * evalQueryParams () {
const { cachedQuery } = yield select(state => state.active);
const { currentList } = yield select(state => state.lists);

if (pathname !== `/keystone/${currentList.id}`) return;
if (pathname !== `${Keystone.adminPath}/${currentList.id}`) return;

if (isEqual(query, cachedQuery)) {
yield put({ type: actions.QUERY_HAS_NOT_CHANGED });
Expand Down

0 comments on commit 258af8c

Please sign in to comment.