Skip to content

Commit

Permalink
Merge pull request #1809 from OpenC3/bug/packetviewer-config
Browse files Browse the repository at this point in the history
PacketViewer back button goes back to last target/packet
  • Loading branch information
ryan-pratt authored Jan 8, 2025
2 parents e5a8384 + 2fc87ca commit 3ea7f59
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -277,6 +277,12 @@ export default {
},
deep: true, // Because pinnedItems is an array
},
'$route.params': function ({ target, packet }) {
this.packetChanged({
targetName: target.toUpperCase(),
packetName: packet.toUpperCase(),
})
},
},
computed: {
menus: function () {
Expand Down

0 comments on commit 3ea7f59

Please sign in to comment.