Skip to content

Commit c17237e

Browse files
author
mashm
committed
Fixed the lint issue
1 parent 83c2505 commit c17237e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

packages/angular-sdk-components/src/lib/_components/template/list-view/list-view.component.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import { getCurrencyOptions } from '../../../_helpers/currency-utils';
2222
import { getLocale, getSeconds } from '../../../_helpers/common';
2323
import { formatters } from '../../../_helpers/formatters/format-utils';
2424

25-
import { useInit } from './listViewHelpers';
25+
import { init } from './listViewHelpers';
2626

2727
declare const window: any;
2828

@@ -218,7 +218,7 @@ export class ListViewComponent implements OnInit, OnDestroy {
218218
if (!this.payload) {
219219
this.payload = { referenceList: this.configProps$.referenceList };
220220
}
221-
useInit({
221+
init({
222222
pConn$: this.pConn$,
223223
bInForm$: this.bInForm$,
224224
...this.payload,

packages/angular-sdk-components/src/lib/_components/template/list-view/listViewHelpers.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { getContext, readContextResponse } from './utils';
33
// Remove this and use "real" PCore type once .d.ts is fixed (currently shows 1 error)
44
declare const PCore: any;
55

6-
export function useInit(props) {
6+
export function init(props) {
77
const {
88
referenceList,
99
pConn$,

0 commit comments

Comments
 (0)