fix(files): Ensure entry with fileid is marked as active

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
This commit is contained in:
Ferdinand Thiessen 2024-05-30 22:52:25 +02:00 committed by Andy Scherzinger
parent 25f99a29e0
commit 7c4dcf51c4
2 changed files with 1 additions and 8 deletions

View file

@ -219,13 +219,6 @@ export default defineComponent({
}
return ''
},
/**
* This entry is the current active node
*/
isActive() {
return this.fileid === this.currentFileId?.toString?.()
},
},
methods: {

View file

@ -101,7 +101,7 @@ export default defineComponent({
},
isActive() {
return this.fileid?.toString?.() === this.currentFileId?.toString?.()
return String(this.fileid) === String(this.currentFileId)
},
canDrag() {