Commit a98d95db by Johannes Edmeier

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

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