Skip to content

Commit 1d3ea40

Browse files
stefanosaladmarjan-georgiev
authored andcommitted
Fix issue swimlane#1296 npm run build --prod (swimlane#1410)
* Fix issue swimlane#1296 npm run build --prod * fix: setted the correct type of @input footerTemplate
1 parent f06ce69 commit 1d3ea40

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/components/body/body-row-wrapper.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ export class DataTableRowWrapperComponent implements DoCheck {
103103
this.rowContextmenu.emit({ event: $event, row: this.row });
104104
}
105105

106-
getGroupHeaderStyle(group: any): any {
106+
getGroupHeaderStyle(): any {
107107
const styles = {};
108108

109109
styles['transform'] = 'translate3d(' + this.offsetX + 'px, 0px, 0px)';

src/components/footer/footer.component.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { Component, Output, EventEmitter, ChangeDetectionStrategy, Input, TemplateRef } from '@angular/core';
2-
2+
import { DatatableFooterDirective } from './footer.directive';
33
@Component({
44
selector: 'datatable-footer',
55
template: `
@@ -53,7 +53,7 @@ export class DataTableFooterComponent {
5353
@Input() pagerPreviousIcon: string;
5454
@Input() pagerNextIcon: string;
5555
@Input() totalMessage: string;
56-
@Input() footerTemplate: TemplateRef<any>;
56+
@Input() footerTemplate: DatatableFooterDirective;
5757

5858
@Input() selectedCount: number = 0;
5959
@Input() selectedMessage: string | boolean;

0 commit comments

Comments
 (0)