Skip to content

Commit

Permalink
fix(web): dataset equality
Browse files Browse the repository at this point in the history
  • Loading branch information
ivan-aksamentov committed Sep 4, 2023
1 parent 1b90f1b commit db37dd3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages_rs/nextclade-web/src/types.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { isEqual, isNil, range, sumBy } from 'lodash'
import { isNil, range, sumBy } from 'lodash'
import type {
Aa,
Cds,
Expand Down Expand Up @@ -135,5 +135,5 @@ export interface AlgorithmInput {
}

export function areDatasetsEqual(left?: Dataset, right?: Dataset): boolean {
return !isNil(left) && !isNil(right) && isEqual(left.attributes, right.attributes)
return !isNil(left?.path) && !isNil(right?.path) && left?.path === right?.path
}

0 comments on commit db37dd3

Please sign in to comment.