mirror of https://github.com/nextcloud/calendar
chore: remove obsolete server version check
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
This commit is contained in:
parent
27a33d85d1
commit
5115deb175
|
@ -266,8 +266,7 @@ export default {
|
|||
return this.defaultReminderOptions.find(o => o.value === this.defaultReminder)
|
||||
},
|
||||
availabilitySettingsUrl() {
|
||||
// TODO: remove specific logic when NC 25 is not supported anymore
|
||||
return this.nextcloudVersion >= 26 ? generateUrl('/settings/user/availability') : generateUrl('/settings/user/groupware')
|
||||
return generateUrl('/settings/user/availability')
|
||||
},
|
||||
nextcloudVersion() {
|
||||
return parseInt(OC.config.version.split('.')[0])
|
||||
|
|
Loading…
Reference in New Issue