Commit 673f4a3
committed
Adjust saving annotations in public pages to changes in Nextcloud 31
In Nextcloud 31 the "sharingToken" element that was used to know the
token of the share was removed and replaced with data provided by the
initial state API. However, rather than directly getting the value using
the initial state API, the token is now got using the @nextcloud/sharing
library, which is expected to handle any future change.
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>1 parent ae23a76 commit 673f4a3
2 files changed
Lines changed: 4 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
| |||
36 | 37 | | |
37 | 38 | | |
38 | 39 | | |
39 | | - | |
| 40 | + | |
40 | 41 | | |
41 | 42 | | |
42 | 43 | | |
43 | | - | |
| 44 | + | |
44 | 45 | | |
45 | 46 | | |
46 | 47 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
0 commit comments