Commit 4fc8932
authored
fix(viewer): used join to fix issues stemming from nextcloud#2991
While the fix merged in nextcloud#2991 addressed a share, it inadvertently broke navigating through images for regular file viewing. This fix uses the `join`, `dirPath` and `node.basename` to reconstruct the paths that works for both shares and non-shared views.
Signed-off-by: tabedzki <35670232+tabedzki@users.noreply.github.com>1 parent 11389bc commit 4fc8932
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
178 | 178 | | |
179 | 179 | | |
180 | 180 | | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
181 | 184 | | |
182 | 185 | | |
183 | 186 | | |
| |||
796 | 799 | | |
797 | 800 | | |
798 | 801 | | |
799 | | - | |
| 802 | + | |
800 | 803 | | |
801 | 804 | | |
802 | 805 | | |
| |||
0 commit comments