Added CSV export of subscribers
Fixed some bugs in subscriptions Updated some packages to avoid warnings about vulnerabilities Completed RSS feed campaigns
This commit is contained in:
parent
8683f8c91e
commit
bf69e633c4
47 changed files with 5255 additions and 9651 deletions
|
|
@ -22,7 +22,7 @@ export default class Output extends Component {
|
|||
|
||||
@withAsyncErrorHandler
|
||||
async loadOutput() {
|
||||
const id = parseInt(this.props.match.params.id);
|
||||
const id = parseInt(this.props.match.params.reportId);
|
||||
const outputRespPromise = axios.get(getUrl(`rest/report-output/${id}`));
|
||||
const reportRespPromise = axios.get(getUrl(`rest/reports/${id}`));
|
||||
const [outputResp, reportResp] = await Promise.all([outputRespPromise, reportRespPromise]);
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ export default class View extends Component {
|
|||
|
||||
@withAsyncErrorHandler
|
||||
async loadContent() {
|
||||
const id = parseInt(this.props.match.params.id);
|
||||
const id = parseInt(this.props.match.params.reportId);
|
||||
const contentRespPromise = axios.get(getUrl(`rest/report-content/${id}`));
|
||||
const reportRespPromise = axios.get(getUrl(`rest/reports/${id}`));
|
||||
const [contentResp, reportResp] = await Promise.all([contentRespPromise, reportRespPromise]);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue