mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
nextcloud: Don't show incorrect phone region when it is not set
Tests: - Install nextcloud and notice that the default phone region is 'Not set'. Select phone region, it sets properly. Set it to 'Not set' and that works too. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
1 parent
138cdd6e3f
commit
722da5b0d5
2 files changed
+6
-3
No files matched your search
@@ -25,7 +25,7 @@ class NextcloudAppView(AppView):
|
||||
initial = super().get_initial()
|
||||
initial.update({
|
||||
'domain': privileged.get_domain(),
|
||||
'default_phone_region': privileged.get_default_phone_region()
|
||||
'default_phone_region': privileged.get_default_phone_region() or ''
|
||||
})
|
||||
return initial
|
||||
|
||||
|
||||
Reference in new issue
Block a user