You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 26, 2024. It is now read-only.
Repository navigation
This repository was archived by the owner on Feb 26, 2024. It is now read-only.
When i delete the object it will delete the content but not delete the object. #249
getAllActivities() method
getActivities(){
this.activityService.getAllActivity().subscribe((data: Activity[] )=>{
this.activities = data;
console.log(this.activities);
});
} CMS cervice class /getAllactivity method
getAllActivity():Observable<Activity[]>{
return this.http.get<Activity[]>(this.activityUrl);
} this is delete method which is in CMS service
deleteActivity(activityId: string):Observable{
let httpHeaders = new HttpHeaders().set('Content-type','application/json');
let options={
headers:httpHeaders
};
return this.http.delete(this.activityUrl+"/"+activityId);
} Service Class Activity.ts
Please check this bug so that can fix my error in my project. In my project ,Testimonial components in which it works fine but in this the same code for delete the activity it will delete the content only . this is screan short of the inspection you can see in the screan short whien we delete the object it delete content only not the object
Activity
rksingh1999 commentedon Dec 31, 2019
Please check this bug so that can fix my error in my project. In my project ,Testimonial components in which it works fine but in this the same code for delete the activity it will delete the content only .

this is screan short of the inspection you can see in the screan short whien we delete the object it delete content only not the object