fix: do not change focus when card id stays the same
Signed-off-by: grnd-alt <github@belakkaf.net>
This commit is contained in:
@@ -178,7 +178,8 @@ export default {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
currentCard() {
|
currentCard(newCard, oldCard) {
|
||||||
|
if (newCard.id === oldCard.id) return
|
||||||
this.focusHeader()
|
this.focusHeader()
|
||||||
},
|
},
|
||||||
'currentCard.title': {
|
'currentCard.title': {
|
||||||
|
|||||||
Reference in New Issue
Block a user