mirror of
https://github.com/nextcloud/server.git
synced 2026-06-06 23:34:22 -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
46bf8b82df
commit
d88d34c561
2 changed files with 1 additions and 8 deletions
|
|
@ -236,13 +236,6 @@ export default defineComponent({
|
|||
}
|
||||
return ''
|
||||
},
|
||||
|
||||
/**
|
||||
* This entry is the current active node
|
||||
*/
|
||||
isActive() {
|
||||
return this.fileid === this.currentFileId?.toString?.()
|
||||
},
|
||||
},
|
||||
|
||||
methods: {
|
||||
|
|
|
|||
|
|
@ -118,7 +118,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