Skip to content

Commit

Permalink
PacketViewer back button goes back to last target/packet
Browse files Browse the repository at this point in the history
  • Loading branch information
ryan-pratt committed Jan 3, 2025
1 parent 88de888 commit 2fc87ca
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 2fc87ca

Please sign in to comment.