mirror of https://github.com/nextcloud/calendar
Merge pull request #5814 from nextcloud/chore/remove-nc-25-conditional
chore: remove obsolete server version check
This commit is contained in:
commit
abdace5b25
|
@ -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