소스 검색

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

Romain Rigaux 8 년 전
부모
커밋
51ff2ca
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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