Skip to content

Commit 3408331

Browse files
committed
messy messy
1 parent d66d36b commit 3408331

File tree

2 files changed

+1
-9
lines changed

2 files changed

+1
-9
lines changed

src/js-report/helpers/asset.helper.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,7 @@ export class AssetHelper {
2525
return 'shortId';
2626
}
2727

28-
const found: any = await this.find(name);
29-
console.log('FOUND', found);
30-
31-
return found.shortid;
28+
return ((await this.find(name)) as any)?.shortid;
3229
}
3330

3431
async insert(asset: {

src/js-report/reports/excel-dashboard/excel-dashboard.report.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,6 @@ export class ExcelDashReport {
3333
}
3434

3535
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-
4136
this.jsReport.template.insert<ScriptsTemplate>({
4237
name: 'excel-dashboard',
4338
recipe: 'html-to-xlsx',

0 commit comments

Comments
 (0)