mirror of
https://github.com/lingble/chatwoot.git
synced 2025-11-02 20:18:08 +00:00
feat: Add the ability to save filters for contact (#3791)
This commit is contained in:
@@ -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}`);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user