Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix: Cast fileid to int before building the Node object
- Follow-up of #2988

Signed-off-by: Louis Chmn <[email protected]>
  • Loading branch information
artonge committed Nov 14, 2025
commit 0538c2637e51e153dc6951169e0e473c2aa68c22
2 changes: 1 addition & 1 deletion src/views/Viewer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -1124,7 +1124,7 @@ export default defineComponent({

async onDelete() {
try {
const fileid = this.currentFile.fileid
const fileid = Number.parseInt(this.currentFile.fileid)
const url = this.currentFile.source ?? this.currentFile.davPath

// Fake node to emit the event until Viewer is migrated to the new Node API.
Expand Down
Loading