Skip to content

Commit

Permalink
馃悰 Add links to the top of a crate
Browse files Browse the repository at this point in the history
  • Loading branch information
BetaHuhn committed Aug 27, 2021
1 parent edb91e8 commit 9bb1dc8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/store/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ export const mutations = {
// Prevent bug where currentCrateLinks is undefined and push fails
if (!Array.isArray(state.currentCrateLinks)) state.currentCrateLinks = []

state.currentCrateLinks.push(value)
state.currentCrateLinks.unshift(value)
},
SET_CURRENT_LINK(state, value) {
state.currentLink = value
Expand Down

0 comments on commit 9bb1dc8

Please sign in to comment.