feat: Add the ability to save filters for contact (#3791)
This commit is contained in:
parent
693f2531ab
commit
504fc24fb3
12 changed files with 203 additions and 31 deletions
|
@ -6,8 +6,8 @@ class CustomViewsAPI extends ApiClient {
|
|||
super('custom_filters', { accountScoped: true });
|
||||
}
|
||||
|
||||
getCustomViews() {
|
||||
return axios.get(this.url);
|
||||
getCustomViewsByFilterType(type) {
|
||||
return axios.get(`${this.url}?filter_type=${type}`);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue