Commit 577432d8 authored by Neosoulink's avatar Neosoulink
Browse files

style: formated code

parent d189429a
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -198,9 +198,8 @@ export class ProductsTableComponent implements OnInit, OnDestroy {
		this.$subSlectProducts = this.selectProducts$
			.pipe(takeUntil(this.ngDestroy$))
			.subscribe(({ current, allData }) => {
				allData.find((d) => d && d.id === current['id'])[
					'checked'
				] = !current.checked;
				allData.find((d) => d && d.id === current['id'])['checked'] =
					!current.checked;

				if (current.checked) {
					this._selectedProducts.push(current);