mirror of
https://github.com/nextcloud/server.git
synced 2026-06-11 01:30:50 -04:00
fix(files): Ensure entry with fileid is marked as active
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
This commit is contained in:
parent
25f99a29e0
commit
7c4dcf51c4
2 changed files with 1 additions and 8 deletions
|
|
@ -219,13 +219,6 @@ export default defineComponent({
|
|||
}
|
||||
return ''
|
||||
},
|
||||
|
||||
/**
|
||||
* This entry is the current active node
|
||||
*/
|
||||
isActive() {
|
||||
return this.fileid === this.currentFileId?.toString?.()
|
||||
},
|
||||
},
|
||||
|
||||
methods: {
|
||||
|
|
|
|||
|
|
@ -101,7 +101,7 @@ export default defineComponent({
|
|||
},
|
||||
|
||||
isActive() {
|
||||
return this.fileid?.toString?.() === this.currentFileId?.toString?.()
|
||||
return String(this.fileid) === String(this.currentFileId)
|
||||
},
|
||||
|
||||
canDrag() {
|
||||
|
|
|
|||
Loading…
Reference in a new issue