Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
fix(table): Fixes an issue with rapid unsubscription if the dtOrder i…
Browse files Browse the repository at this point in the history
…s immediately destroyed.

Fixes APM-296415
  • Loading branch information
tomheller committed Apr 21, 2021
1 parent 16ca6ff commit 9dbf1a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/barista-components/table/src/order/order-directive.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ export class DtOrder<T>
_disabledChange = new BehaviorSubject<boolean>(false);

/** Subscription of the drop list dropped event emitter */
private _dropListSubscription: Subscription;
private _dropListSubscription: Subscription = Subscription.EMPTY;

constructor(
@Host() readonly _dropList: CdkDropList<T[]>,
Expand Down

0 comments on commit 9dbf1a2

Please sign in to comment.