Commit 578df9a
fix: register file actions and fix DAV stat path in init.ts
The openInLibreSignAction and showStatusInlineAction modules were never
imported by any bundle entry point, so registerFileAction() was never
called and those actions never appeared in the Files context-menu.
The DAV client.stat() call was using a bare path (e.g. /folder/file.pdf)
which resolves to /remote.php/dav/folder/file.pdf and returns 404.
The path must be prefixed with getRootPath() (/files/{uid}/...) so the
request goes to the correct WebDAV endpoint.
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>1 parent 5dd4a30 commit 578df9a
1 file changed
Lines changed: 4 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
| 18 | + | |
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
| |||
66 | 67 | | |
67 | 68 | | |
68 | 69 | | |
69 | | - | |
| 70 | + | |
70 | 71 | | |
71 | 72 | | |
72 | 73 | | |
| |||
0 commit comments