Skip to content
Snippets Groups Projects
Unverified Commit ae8b0ffd authored by Joas Schilling's avatar Joas Schilling Committed by GitHub
Browse files

Merge pull request #26459 from nextcloud/backport/26458/stable21

[stable21] Show icon-phone when setting is set to private instead of local
parents 591aac3b bffdbb12
No related branches found
No related tags found
No related merge requests found
......@@ -231,6 +231,7 @@
_setFieldScopeIcon: function(field, scope) {
var $icon = this.$('#' + field + 'form > h3 .icon-federation-menu');
$icon.removeClass('icon-phone');
$icon.removeClass('icon-password');
$icon.removeClass('icon-contacts-dark');
$icon.removeClass('icon-link');
......@@ -238,6 +239,9 @@
switch (scope) {
case 'v2-private':
$icon.addClass('icon-phone');
$icon.removeClass('hidden');
break;
case 'v2-local':
$icon.addClass('icon-password');
$icon.removeClass('hidden');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment