Skip to content

Commit

Permalink
Merge pull request #3796 from ylebre/master
Browse files Browse the repository at this point in the history
set last modified when the card was found. Fixes #3763
  • Loading branch information
juliusknorr authored May 11, 2022
2 parents 43540b0 + 167774e commit db45e79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/store/card.js
Original file line number Diff line number Diff line change
Expand Up @@ -249,8 +249,8 @@ export default {
const existingIndex = state.cards.findIndex(_card => _card.id === card.id)
if (existingIndex !== -1) {
Vue.set(state.cards[existingIndex], property, card[property])
Vue.set(state.cards[existingIndex], 'lastModified', Date.now() / 1000)
}
Vue.set(state.cards[existingIndex], 'lastModified', Date.now() / 1000)
},
cardIncreaseAttachmentCount(state, cardId) {
const existingIndex = state.cards.findIndex(_card => _card.id === cardId)
Expand Down

0 comments on commit db45e79

Please sign in to comment.