Skip to content

Commit

Permalink
Lint code with ESLint and Prettier
Browse files Browse the repository at this point in the history
Triggered by 687fd7a on branch refs/heads/issue-4611
  • Loading branch information
sharadsw authored and github-actions[bot] committed May 16, 2024
1 parent 687fd7a commit 484c024
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -225,9 +225,9 @@ export function WbView({
data={data}
dataset={dataset}
hot={hot}
isResultsOpen={showResults}
isUploaded={isUploaded}
mappings={mappings}
isResultsOpen={showResults}
setHotTable={setHotTable}
spreadsheetChanged={spreadsheetChanged}
workbench={workbench}
Expand Down
3 changes: 2 additions & 1 deletion specifyweb/frontend/js_src/lib/components/WorkBench/hooks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -472,7 +472,8 @@ export function useHotHooks({
},

beforeColumnMove: (_columnIndexes, _finalIndex, dropIndex) =>
!isResultsOpen && (dropIndex !== undefined || workbench.hot !== undefined),
!isResultsOpen &&
(dropIndex !== undefined || workbench.hot !== undefined),

// Save new visualOrder on the back end
afterColumnMove: (_columnIndexes, _finalIndex, dropIndex) => {
Expand Down

0 comments on commit 484c024

Please sign in to comment.