From c898f038bd1980bb460755667bf4687a7504ae07 Mon Sep 17 00:00:00 2001 From: Dermot Duffy Date: Mon, 30 Jan 2023 21:24:59 -0800 Subject: [PATCH] Remove old TODO. --- src/view/view.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/view/view.ts b/src/view/view.ts index ad754ee6..040dcc45 100644 --- a/src/view/view.ts +++ b/src/view/view.ts @@ -78,8 +78,10 @@ export class View { // When in the live view, the queryResults contain the events that // happened in the past -- not reflective of the actual live media viewer // the user is seeing. - // TODO: Put stuff here that can be used in timeline reset code - (curr.view !== 'live' && (prev.queryResults !== curr.queryResults || prev.queryResults?.getSelectedResult() !== curr.queryResults?.getSelectedResult())) + (curr.view !== 'live' && + (prev.queryResults !== curr.queryResults || + prev.queryResults?.getSelectedResult() !== + curr.queryResults?.getSelectedResult())) ); }