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

Commit

Permalink
add more validations to make monorepo works
Browse files Browse the repository at this point in the history
  • Loading branch information
juliosgarbi committed Nov 22, 2023
1 parent d13d06c commit 89ca369
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/sdk/lsf-sdk.js
Original file line number Diff line number Diff line change
Expand Up @@ -332,6 +332,8 @@ export class LSFWrapper {
}

setLSFTask(task, annotationID, fromHistory) {
if (!this.lsf) return;

const hasChangedTasks = this.lsf?.task?.id !== task?.id && task?.id;

this.setLoading(true, hasChangedTasks);
Expand Down

0 comments on commit 89ca369

Please sign in to comment.