|
8 | 8 | :description="t('federatedfilesharing', 'Adjust how people can share between servers. This includes shares between people on this server as well if they are using federated sharing.')" |
9 | 9 | :doc-url="sharingFederatedDocUrl"> |
10 | 10 | <NcCheckboxRadioSwitch |
| 11 | + v-model="outgoingServer2serverShareEnabled" |
11 | 12 | type="switch" |
12 | | - :checked.sync="outgoingServer2serverShareEnabled" |
13 | | - @update:checked="update('outgoing_server2server_share_enabled', outgoingServer2serverShareEnabled)"> |
| 13 | + @update:modelValue="update('outgoing_server2server_share_enabled', outgoingServer2serverShareEnabled)"> |
14 | 14 | {{ t('federatedfilesharing', 'Allow people on this server to send shares to other servers (this option also allows WebDAV access to public shares)') }} |
15 | 15 | </NcCheckboxRadioSwitch> |
16 | 16 |
|
17 | 17 | <NcCheckboxRadioSwitch |
| 18 | + v-model="incomingServer2serverShareEnabled" |
18 | 19 | type="switch" |
19 | | - :checked.sync="incomingServer2serverShareEnabled" |
20 | | - @update:checked="update('incoming_server2server_share_enabled', incomingServer2serverShareEnabled)"> |
| 20 | + @update:modelValue="update('incoming_server2server_share_enabled', incomingServer2serverShareEnabled)"> |
21 | 21 | {{ t('federatedfilesharing', 'Allow people on this server to receive shares from other servers') }} |
22 | 22 | </NcCheckboxRadioSwitch> |
23 | 23 |
|
24 | 24 | <NcCheckboxRadioSwitch |
25 | 25 | v-if="federatedGroupSharingSupported" |
| 26 | + v-model="outgoingServer2serverGroupShareEnabled" |
26 | 27 | type="switch" |
27 | | - :checked.sync="outgoingServer2serverGroupShareEnabled" |
28 | | - @update:checked="update('outgoing_server2server_group_share_enabled', outgoingServer2serverGroupShareEnabled)"> |
| 28 | + @update:modelValue="update('outgoing_server2server_group_share_enabled', outgoingServer2serverGroupShareEnabled)"> |
29 | 29 | {{ t('federatedfilesharing', 'Allow people on this server to send shares to groups on other servers') }} |
30 | 30 | </NcCheckboxRadioSwitch> |
31 | 31 |
|
32 | 32 | <NcCheckboxRadioSwitch |
33 | 33 | v-if="federatedGroupSharingSupported" |
| 34 | + v-model="incomingServer2serverGroupShareEnabled" |
34 | 35 | type="switch" |
35 | | - :checked.sync="incomingServer2serverGroupShareEnabled" |
36 | | - @update:checked="update('incoming_server2server_group_share_enabled', incomingServer2serverGroupShareEnabled)"> |
| 36 | + @update:modelValue="update('incoming_server2server_group_share_enabled', incomingServer2serverGroupShareEnabled)"> |
37 | 37 | {{ t('federatedfilesharing', 'Allow people on this server to receive group shares from other servers') }} |
38 | 38 | </NcCheckboxRadioSwitch> |
39 | 39 |
|
|
42 | 42 |
|
43 | 43 | <NcCheckboxRadioSwitch |
44 | 44 | type="switch" |
45 | | - :checked="lookupServerEnabled" |
| 45 | + :model-value="lookupServerEnabled" |
46 | 46 | disabled |
47 | | - @update:checked="showLookupServerConfirmation"> |
| 47 | + @update:modelValue="showLookupServerConfirmation"> |
48 | 48 | {{ t('federatedfilesharing', 'Search global and public address book for people') }} |
49 | 49 | </NcCheckboxRadioSwitch> |
50 | 50 |
|
51 | 51 | <NcCheckboxRadioSwitch |
52 | 52 | type="switch" |
53 | | - :checked="lookupServerUploadEnabled" |
| 53 | + :model-value="lookupServerUploadEnabled" |
54 | 54 | disabled |
55 | | - @update:checked="showLookupServerUploadConfirmation"> |
| 55 | + @update:modelValue="showLookupServerUploadConfirmation"> |
56 | 56 | {{ t('federatedfilesharing', 'Allow people to publish their data to a global and public address book') }} |
57 | 57 | </NcCheckboxRadioSwitch> |
58 | 58 | </fieldset> |
|
63 | 63 | {{ t('federatedfilesharing', 'Trusted federation') }} |
64 | 64 | </h3> |
65 | 65 | <NcCheckboxRadioSwitch |
| 66 | + v-model="federatedTrustedShareAutoAccept" |
66 | 67 | type="switch" |
67 | | - :checked.sync="federatedTrustedShareAutoAccept" |
68 | | - @update:checked="update('federatedTrustedShareAutoAccept', federatedTrustedShareAutoAccept)"> |
| 68 | + @update:modelValue="update('federatedTrustedShareAutoAccept', federatedTrustedShareAutoAccept)"> |
69 | 69 | {{ t('federatedfilesharing', 'Automatically accept shares from trusted federated accounts and groups by default') }} |
70 | 70 | </NcCheckboxRadioSwitch> |
71 | 71 | </div> |
|
0 commit comments