mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Cleanup
This commit is contained in:
parent
d5431f5b87
commit
dd1d5dcf12
@ -102,7 +102,7 @@ export function UserTheme({ height }: { height: number }) {
|
|||||||
</Table.Td>
|
</Table.Td>
|
||||||
<Table.Td>
|
<Table.Td>
|
||||||
<Group justify="left">
|
<Group justify="left">
|
||||||
<Loader type={themeLoader} mah={18} />
|
<Loader type={themeLoader} mah={16} size="sm" />
|
||||||
</Group>
|
</Group>
|
||||||
</Table.Td>
|
</Table.Td>
|
||||||
</Table.Tr>
|
</Table.Tr>
|
||||||
|
@ -155,7 +155,8 @@ export function InvenTreeTable<T = any>({
|
|||||||
getTableColumnNames,
|
getTableColumnNames,
|
||||||
setTableColumnNames,
|
setTableColumnNames,
|
||||||
getTableSorting,
|
getTableSorting,
|
||||||
setTableSorting
|
setTableSorting,
|
||||||
|
loader
|
||||||
} = useLocalState();
|
} = useLocalState();
|
||||||
const [fieldNames, setFieldNames] = useState<Record<string, string>>({});
|
const [fieldNames, setFieldNames] = useState<Record<string, string>>({});
|
||||||
|
|
||||||
@ -699,7 +700,7 @@ export function InvenTreeTable<T = any>({
|
|||||||
withTableBorder
|
withTableBorder
|
||||||
striped
|
striped
|
||||||
highlightOnHover
|
highlightOnHover
|
||||||
loaderType="dots"
|
loaderType={loader}
|
||||||
pinLastColumn={tableProps.rowActions != undefined}
|
pinLastColumn={tableProps.rowActions != undefined}
|
||||||
idAccessor={tableProps.idAccessor}
|
idAccessor={tableProps.idAccessor}
|
||||||
minHeight={300}
|
minHeight={300}
|
||||||
|
Loading…
Reference in New Issue
Block a user