Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jun 12, 2024
1 parent 3ed1a24 commit 4840168
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,6 @@ export class GuidedMetadataPage extends ManagedPage {

delete results.__generated; // Ignore generated results. NOTE: See if this fails


const pageThis = this;

// Create the form
Expand Down Expand Up @@ -336,9 +335,9 @@ export class GuidedMetadataPage extends ManagedPage {

onUpdate: () => (this.unsavedUpdates = "conversions"),

validateOnChange: function (...args){
validateOnChange: function (...args) {
this.timezone = pageThis.workflow?.timezone.value; // Set the timezone for the form
return validateOnChange.call(this, ...args)
return validateOnChange.call(this, ...args);
},
onlyRequired: false,
onStatusChange: (state) => this.manager.updateState(`sub-${subject}/ses-${session}`, state),
Expand Down

0 comments on commit 4840168

Please sign in to comment.