MM 60222 - apply filter to export csv (#28212)
* MM-60222_apply filter to export csv * get the report exporting with the filters ready * add unit tests * cover one more file with some tests * style the confirm modal note * add translations * remove unnecessary print line * disable export button if there is no data to export * fix linter issues * fix linter errors --------- Co-authored-by: Mattermost Build <build@mattermost.com>
Этот коммит содержится в:
@@ -1025,8 +1025,8 @@ export default class Client4 {
|
||||
);
|
||||
};
|
||||
|
||||
startUsersBatchExport = (dateRange: string) => {
|
||||
const queryString = buildQueryString({date_range: dateRange});
|
||||
startUsersBatchExport = (filter: UserReportFilter) => {
|
||||
const queryString = buildQueryString(filter);
|
||||
return this.doFetch<StatusOK>(
|
||||
`${this.getReportsRoute()}/users/export${queryString}`,
|
||||
{method: 'post'},
|
||||
|
||||
Ссылка в новой задаче
Block a user