Skip to content

Commit

Permalink
autofix
Browse files Browse the repository at this point in the history
  • Loading branch information
matmair committed Nov 21, 2024
1 parent fb9cee1 commit 1f307d5
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
12 changes: 6 additions & 6 deletions src/frontend/src/forms/selectionListFields.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ import { useMemo } from 'react';

import RemoveRowButton from '../components/buttons/RemoveRowButton';
import { StandaloneField } from '../components/forms/StandaloneField';
import {
import type {
ApiFormFieldSet,
ApiFormFieldType
} from '../components/forms/fields/ApiFormField';
import { TableFieldRowProps } from '../components/forms/fields/TableField';
import type { TableFieldRowProps } from '../components/forms/fields/TableField';

function BuildAllocateLineRow({
props
Expand Down Expand Up @@ -66,19 +66,19 @@ function BuildAllocateLineRow({
return (
<Table.Tr key={`table-row-${props.item.pk}`}>
<Table.Td>
<StandaloneField fieldName="value" fieldDefinition={valueField} />
<StandaloneField fieldName='value' fieldDefinition={valueField} />
</Table.Td>
<Table.Td>
<StandaloneField fieldName="label" fieldDefinition={labelField} />
<StandaloneField fieldName='label' fieldDefinition={labelField} />
</Table.Td>
<Table.Td>
<StandaloneField
fieldName="description"
fieldName='description'
fieldDefinition={descriptionField}
/>
</Table.Td>
<Table.Td>
<StandaloneField fieldName="active" fieldDefinition={activeField} />
<StandaloneField fieldName='active' fieldDefinition={activeField} />
</Table.Td>
<Table.Td>
<RemoveRowButton onClick={() => props.removeFn(props.idx)} />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ export default function PartParameterPanel() {
<PartParameterTemplateTable />

<Accordion>
<Accordion.Item value="selectionlist" key="selectionlist">
<Accordion.Item value='selectionlist' key='selectionlist'>
<Accordion.Control>
<StylishText size="lg">{t`Selection Lists`}</StylishText>
<StylishText size='lg'>{t`Selection Lists`}</StylishText>
</Accordion.Control>
<Accordion.Panel>
<SelectionListTable />
Expand Down
6 changes: 3 additions & 3 deletions src/frontend/src/tables/part/SelectionListTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ import {
import { useTable } from '../../hooks/UseTable';
import { apiUrl } from '../../states/ApiState';
import { useUserState } from '../../states/UserState';
import { TableColumn } from '../Column';
import type { TableColumn } from '../Column';
import { BooleanColumn } from '../ColumnRenderers';
import { InvenTreeTable } from '../InvenTreeTable';
import { RowAction, RowDeleteAction, RowEditAction } from '../RowActions';
import { type RowAction, RowDeleteAction, RowEditAction } from '../RowActions';

/**
* Table for displaying list of selectionlist items
Expand Down Expand Up @@ -104,7 +104,7 @@ export default function SelectionListTable() {
const tableActions = useMemo(() => {
return [
<AddItemButton
key="add-selection-list"
key='add-selection-list'
onClick={() => newSelectionList.open()}
tooltip={t`Add Selection List`}
/>
Expand Down

0 comments on commit 1f307d5

Please sign in to comment.