Skip to content

Commit 8a2860a

Browse files
maxpatiiukgithub-actions[bot]
authored andcommitted
Lint code with ESLint and Prettier
Triggered by e0b9fae on branch refs/heads/xml-editor
1 parent e0b9fae commit 8a2860a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

specifyweb/frontend/js_src/lib/components/WbPlanView/navigator.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,7 @@ export function getMappingLineData({
385385
const formatted =
386386
spec.includeFormattedAggregated &&
387387
(spec.includeRootFormattedAggregated ||
388-
internalState.mappingLineData.length !== 0) &&
388+
internalState.mappingLineData.length > 0) &&
389389
((generateFieldData === 'all' &&
390390
(!isTreeTable(table.name) ||
391391
mappingPath[internalState.position - 1] ===

specifyweb/frontend/js_src/lib/components/WebLinks/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,8 +120,8 @@ export function WebLinkField({
120120
: webLink
121121
}
122122
className="max-h-[theme(spacing.5)] max-w-[theme(spacing.10)]"
123-
src={getIcon(icon) ?? unknownIcon}
124123
crossOrigin="anonymous"
124+
src={getIcon(icon) ?? unknownIcon}
125125
/>
126126
);
127127
const Component =

0 commit comments

Comments
 (0)