Commit f695e95f authored by Hamza HRAMCHI's avatar Hamza HRAMCHI
Browse files

FIX #19424 TIME 0:05 add ;

parent 03dccf51
......@@ -235,7 +235,7 @@ export class ActionsService implements OnDestroy {
nameBasket(basketId: number = this.currentBasketId,userId: number = this.currentUserId,) {
this.http.get('../rest/basket/' + basketId + '/users/' + userId)
.subscribe((data: any) => {
this.basket = data.basket.basket_id
this.basket = data.basket.basket_id;
});
}
......@@ -245,7 +245,7 @@ export class ActionsService implements OnDestroy {
this.http.get('../rest/resourcesList/users/'+userId+'/groups/'+groupId+'/baskets/'+basketId).subscribe((data: any) => {
this.sgami75 = data.allResources.filter((action:any) => action != resId)
this.sgami75 = data.allResources.filter((action:any) => action != resId);
});
}
......@@ -254,7 +254,7 @@ export class ActionsService implements OnDestroy {
this.http.get('../rest/signatureBook/users/'+userId+'/groups/'+groupId+'/baskets/'+basketId+'/resources/' + resId).subscribe((data: any) => {
this.sgami75_2 = data
this.sgami75_2 = data;
});
}
/**
......
......@@ -214,7 +214,7 @@ export class SignatureBookComponent implements OnInit, OnDestroy {
loadActions() {
this.http.get('../rest/resourcesList/users/' + this.userId + '/groups/' + this.groupId + '/baskets/' + this.basketId + '/actions?resId=' + this.resId)
.subscribe((data: any) => {
this.signatureBook.actions = data.actions
this.signatureBook.actions = data.actions;
}, (err) => {
this.notify.error(err.error.errors);
});
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment