We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d66d36b commit 3408331Copy full SHA for 3408331
src/js-report/helpers/asset.helper.ts
@@ -25,10 +25,7 @@ export class AssetHelper {
25
return 'shortId';
26
}
27
28
- const found: any = await this.find(name);
29
- console.log('FOUND', found);
30
-
31
- return found.shortid;
+ return ((await this.find(name)) as any)?.shortid;
32
33
34
async insert(asset: {
src/js-report/reports/excel-dashboard/excel-dashboard.report.ts
@@ -33,11 +33,6 @@ export class ExcelDashReport {
35
async render(pdf = false, data = excelDashData) {
36
- const what = await this.jsReport.asset.shortId(
37
- 'project-portfolio-dashboard-template.xlsx',
38
- );
39
- console.log('WHAT', what);
40
41
this.jsReport.template.insert<ScriptsTemplate>({
42
name: 'excel-dashboard',
43
recipe: 'html-to-xlsx',
0 commit comments