feat: Add the ability to save filters for contact (#3791)

This commit is contained in:
Sivin Varghese 2022-01-22 03:41:59 +05:30 committed by GitHub
parent 693f2531ab
commit 504fc24fb3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 203 additions and 31 deletions

View file

@ -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}`);
}
}