Commit a98d95db by Johannes Edmeier

fix back-/forward-navigation for application list when item is selected

parent 1a9e7774
...@@ -101,10 +101,13 @@ ...@@ -101,10 +101,13 @@
}), }),
methods: { methods: {
select(name) { select(name) {
this.$router.push({name: 'applications', params: {selected: name}}); this.$router.replace({name: 'applications', params: {selected: name}});
}, },
deselect() { deselect(event) {
this.$router.push({name: 'applications'}); if (event && event.target instanceof HTMLAnchorElement) {
return;
}
this.$router.replace({name: 'applications'});
}, },
showDetails(instance) { showDetails(instance) {
this.$router.push({name: 'instance/details', params: {instanceId: instance.id}}); this.$router.push({name: 'instance/details', params: {instanceId: instance.id}});
......
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