Skip to content

Commit

Permalink
chore: More readable comparison
Browse files Browse the repository at this point in the history
Co-authored-by: Julian Waller <[email protected]>
  • Loading branch information
sbaudlr and Julusian authored Oct 6, 2023
1 parent 5f77271 commit 12bb8e9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export class AdLibActionsHandler
await new Promise(process.nextTick.bind(this))
if (!this._collection) return
if (!this._publication) return
if (!(prevRundownId === this._curRundownId && prevCurPartInstance === this._curPartInstance)) {
if (prevRundownId !== this._curRundownId || prevCurPartInstance !== this._curPartInstance)) {
if (this._subscriptionId) this._coreHandler.unsubscribe(this._subscriptionId)
if (this._dbObserver) this._dbObserver.stop()
if (this._curRundownId && this._curPartInstance) {
Expand Down

0 comments on commit 12bb8e9

Please sign in to comment.