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

This commit is contained in:
Sivin Varghese
2022-01-21 14:11:59 -08:00
committed by GitHub
parent 693f2531ab
commit 504fc24fb3
12 changed files with 203 additions and 31 deletions
+2 -2
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}`);
}
}