Merge branch 'master' of ssh://git.verdnatura.es:/var/lib/git/salix
This commit is contained in:
commit
93c37ac964
|
@ -15,6 +15,7 @@ export const COMPONENT = {
|
|||
this.submit = function() {
|
||||
if (!equalsObject(this.account, this.accountOld)) {
|
||||
this.client.modify = "WebAccess";
|
||||
this.account.id = this.client.id;
|
||||
$http.put('/client/api/Accounts', this.account).then(
|
||||
json => {
|
||||
this.account = json.data;
|
||||
|
@ -53,9 +54,6 @@ export const COMPONENT = {
|
|||
json => {
|
||||
this.account = json.data;
|
||||
this.copyAccount();
|
||||
},
|
||||
json => {
|
||||
this.account = {id: clientId};
|
||||
}
|
||||
);
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue