Explorar o código

HUE-6343 [useradmin] User edit js notifification is only for Hue 3

Romain Rigaux %!s(int64=8) %!d(string=hai) anos
pai
achega
51ff2ca
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      apps/useradmin/src/useradmin/views.py

+ 1 - 1
apps/useradmin/src/useradmin/views.py

@@ -333,7 +333,7 @@ def edit_user(request, username=None):
         request.session['django_language'] = form.cleaned_data.get('language')
         updated = True
 
-      if updated and is_embeddable:
+      if updated and not is_embeddable:
         request.info(_('User information updated'))
 
       # Audit log