which turns out to set everything to undefined.
The console.log output shows that user is not an Object, but an array of 1 object.
Is this expected behavior? Of course I know the solution is to just put user[0].email, but the documentation does not specify an array. Thought I’d let you know.
this.events.subscribe('save-settings', (args) => {
let settingsArray = args as UserSettings[];
console.log("settingsArray length is " + settingsArray.length); **---> 1 only??**
this.userSettings = settingsArray[0]; //should have a value because it was just saved
this.oldUserSettings = settingsArray[1];
}