From ebbf88555c79ef62b7fe8352f12b556732a133fb Mon Sep 17 00:00:00 2001 From: valerio como Date: Tue, 30 Jul 2024 10:52:09 +0000 Subject: [PATCH] fix: removed unused code --- .../src/lib/components/form/transfer/store/transfer.store.ts | 4 ---- .../src/lib/components/form/transfer/transfer.component.ts | 5 ----- 2 files changed, 9 deletions(-) diff --git a/projects/design-angular-kit/src/lib/components/form/transfer/store/transfer.store.ts b/projects/design-angular-kit/src/lib/components/form/transfer/store/transfer.store.ts index 54e7bc82..81e3cca4 100644 --- a/projects/design-angular-kit/src/lib/components/form/transfer/store/transfer.store.ts +++ b/projects/design-angular-kit/src/lib/components/form/transfer/store/transfer.store.ts @@ -12,10 +12,6 @@ export class TransferStore { private readonly targetItems = this._state.pipe(map(state => state.current.target)); - private get state() { - return this._state.value; - } - readonly valueChanged = this._state.pipe( map(state => state.current.target), distinctUntilChanged() diff --git a/projects/design-angular-kit/src/lib/components/form/transfer/transfer.component.ts b/projects/design-angular-kit/src/lib/components/form/transfer/transfer.component.ts index 6639c8f2..d3f74373 100644 --- a/projects/design-angular-kit/src/lib/components/form/transfer/transfer.component.ts +++ b/projects/design-angular-kit/src/lib/components/form/transfer/transfer.component.ts @@ -69,11 +69,6 @@ export class ItTransferComponent extends ItAbstractFormComponent imp this.onStoreValueChanged(); } - buttonHandler(event: Event) { - console.log(event); - event.preventDefault(); - } - /** * Transfer button click handler */