Router WIP

This commit is contained in:
Edin Dazdarevic
2017-04-08 05:11:45 +02:00
parent b540f50e15
commit 562bbc638f
5 changed files with 99 additions and 7 deletions

View File

@@ -59,6 +59,8 @@ const viewListingDetails = ({ type, action }, component) => {
imageIndex: 0,
listing: action.listing
}, () => {
//window.history.pushState({}, '', `/listing/${action.id}`);
component.router.update();
markSeen(action.id);
const m = component.findMarker(action.id);
if (m) {