Skip to content

Commit

Permalink
fix back-/forward-navigation for application list when item is selected
Browse files Browse the repository at this point in the history
  • Loading branch information
joshiste committed Mar 18, 2018
1 parent 1a9e777 commit a98d95d
Showing 1 changed file with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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}});
Expand Down

0 comments on commit a98d95d

Please sign in to comment.