Skip to content

Commit 2ea0568

Browse files
authored
Merge pull request #55486 from nextcloud/fix/55003-allow-empty-mail-address
Allow to remove a website in the user profile
2 parents 2f3ff8c + d40e58d commit 2ea0568

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

apps/settings/src/components/PersonalInfo/WebsiteSection.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ export default {
3535
3636
methods: {
3737
onValidate(value) {
38-
return validateUrl(value)
38+
return validateUrl(value) || value === ''
3939
},
4040
},
4141
}

dist/settings-vue-settings-personal-info.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/settings-vue-settings-personal-info.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)