jmuehlner commented on code in PR #751:
URL: https://github.com/apache/guacamole-client/pull/751#discussion_r939411432
##########
guacamole/src/main/frontend/src/app/settings/directives/guacSettingsPreferences.js:
##########
@@ -56,6 +58,27 @@
angular.module('settings').directive('guacSettingsPreferences', [function guacSe
}
};
+ /**
+ * An action which closes the current dialog, and refreshes
+ * the user data on dialog close.
+ */
+ const ACKNOWLEDGE_ACTION_RELOAD = {
+ name : 'SETTINGS_PREFERENCES.ACTION_ACKNOWLEDGE',
+ // Handle action
+ callback : function acknowledgeCallback() {
+ userService.getUser(dataSource, username)
Review Comment:
This is to make sure that the updated value gets pulled if, for example, a
one-time token gets rewritten into a config blob.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]