feat: Adds the ability to delete a segment (#3836)
* feat: Adds the ability to delete a segment * Minor fixes * Small changes
This commit is contained in:
parent
e90d064648
commit
b304f5a826
8 changed files with 77 additions and 18 deletions
|
@ -9,6 +9,10 @@ class CustomViewsAPI extends ApiClient {
|
|||
getCustomViewsByFilterType(type) {
|
||||
return axios.get(`${this.url}?filter_type=${type}`);
|
||||
}
|
||||
|
||||
deleteCustomViews(id, type) {
|
||||
return axios.delete(`${this.url}/${id}?filter_type=${type}`);
|
||||
}
|
||||
}
|
||||
|
||||
export default new CustomViewsAPI();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue