Commit 39ca260
committed
fix(stable32): replace getSidebar() with OCA.Files.Sidebar in init.ts
getSidebar() is a @nextcloud/files v4-only API, not available in v3.12.x.
Replace sidebar open calls with the NC32-compatible global:
window.OCA.Files?.Sidebar?.open(node.path)
window.OCA.Files?.Sidebar?.setActiveTab('libresign')
Signed-off-by: Vitor Mattos <[email protected]>1 parent 311ba91 commit 39ca260
1 file changed
Lines changed: 3 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
73 | | - | |
74 | | - | |
75 | | - | |
| 73 | + | |
| 74 | + | |
76 | 75 | | |
77 | 76 | | |
78 | 77 | | |
| |||
0 commit comments