Commit 48ef27a
committed
refactor: use getSidebar() API in inline status action
Update showStatusInlineAction to use @nextcloud/files v4 sidebar API:
- Import getSidebar() from @nextcloud/files
- Replace window.OCA.Files.Sidebar with getSidebar() proxy
- Pass node object directly to sidebar.open()
- Use sidebar.setActiveTab() to activate LibreSign tab
- Add proper availability checks and error handling
Signed-off-by: Vitor Mattos <[email protected]>1 parent cd1caa2 commit 48ef27a
1 file changed
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
30 | | - | |
| 29 | + | |
| 30 | + | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
| 51 | + | |
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| |||
0 commit comments