Commit 1e51c05d authored by benjaminParisel's avatar benjaminParisel Committed by abirembaut

fix(preview): Prefer use state.go instead state.transitionTo (#2462)

* In this case we need to call state.go
* $state.go call $state.transtionTo with some options setting to true (inherit)

Covers [BS-18062](https://bonitasoft.atlassian.net/browse/BS-18062)
parent 4b6c65b1
......@@ -78,11 +78,11 @@
}
function updateResolutionInUrl(resolution) {
$state.transitionTo(`designer.preview`, {
$state.go(`designer.preview`, {
resolution: resolution.key,
id: iframeParameters.id,
mode: mode
}, { notify: false });
});
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment