mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 13:17:41 +00:00
GUAC-1053: Ensure new preferences are set even if the user already had preferences from an older version.
This commit is contained in:
@@ -127,7 +127,7 @@ angular.module('settings').factory('preferenceService', ['$injector',
|
||||
if (localStorage) {
|
||||
var preferencesJSON = localStorage.getItem(GUAC_PREFERENCES_STORAGE_KEY);
|
||||
if (preferencesJSON)
|
||||
service.preferences = JSON.parse(preferencesJSON);
|
||||
angular.extend(service.preferences, JSON.parse(preferencesJSON));
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user