fix: do not change focus when card id stays the same

Signed-off-by: grnd-alt <github@belakkaf.net>
This commit is contained in:
grnd-alt
2025-08-13 12:55:22 +02:00
parent 771cf93cf6
commit da850b18ae

View File

@@ -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': {