fix: losing focus while editing title field
Signed-off-by: Luka Trovic <luka@nextcloud.com>
This commit is contained in:
@@ -109,6 +109,7 @@ export default {
|
||||
showArchived: state => state.showArchived,
|
||||
currentBoard: state => state.currentBoard,
|
||||
showCardCover: state => state.showCardCover,
|
||||
shortcutLock: state => state.shortcutLock,
|
||||
}),
|
||||
...mapGetters([
|
||||
'isArchived',
|
||||
@@ -184,6 +185,9 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
focus(card) {
|
||||
if (this.shortcutLock) {
|
||||
return
|
||||
}
|
||||
card = this.$refs[`card${card}`]
|
||||
card.focus()
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user