Skip to content

Commit

Permalink
chore: remove obsolete server version check
Browse files Browse the repository at this point in the history
Signed-off-by: Richard Steinmetz <[email protected]>
  • Loading branch information
st3iny committed Feb 28, 2024
1 parent 27a33d8 commit 5115deb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/components/AppNavigation/Settings.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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')

Check warning on line 269 in src/components/AppNavigation/Settings.vue

View check run for this annotation

Codecov / codecov/patch

src/components/AppNavigation/Settings.vue#L269

Added line #L269 was not covered by tests
},
nextcloudVersion() {
return parseInt(OC.config.version.split('.')[0])
Expand Down

0 comments on commit 5115deb

Please sign in to comment.