UI improvements.
All checks were successful
farmcontrol/farmcontrol-ui/pipeline/head This commit looks good
All checks were successful
farmcontrol/farmcontrol-ui/pipeline/head This commit looks good
This commit is contained in:
parent
7611d11655
commit
bfce33c3d2
@ -83,7 +83,7 @@ const FilamentSkus = () => {
|
||||
open={newFilamentSkuOpen}
|
||||
styles={{ content: { paddingBottom: '24px' } }}
|
||||
footer={null}
|
||||
width={600}
|
||||
width={700}
|
||||
onCancel={() => {
|
||||
setNewFilamentSkuOpen(false)
|
||||
}}
|
||||
|
||||
@ -63,7 +63,7 @@ const FilamentInfo = () => {
|
||||
},
|
||||
newFilamentSku: () => {
|
||||
setNewFilamentSkuOpen(true)
|
||||
return false
|
||||
return true
|
||||
},
|
||||
edit: () => {
|
||||
objectFormRef?.current?.startEditing?.()
|
||||
@ -232,7 +232,7 @@ const FilamentInfo = () => {
|
||||
open={newFilamentSkuOpen}
|
||||
styles={{ content: { paddingBottom: '24px' } }}
|
||||
footer={null}
|
||||
width={600}
|
||||
width={700}
|
||||
onCancel={() => setNewFilamentSkuOpen(false)}
|
||||
destroyOnClose
|
||||
>
|
||||
|
||||
@ -20,8 +20,7 @@ const PartSkus = () => {
|
||||
|
||||
const [viewMode, setViewMode] = useViewMode('partSkus')
|
||||
|
||||
const [columnVisibility, setColumnVisibility] =
|
||||
useColumnVisibility('partSku')
|
||||
const [columnVisibility, setColumnVisibility] = useColumnVisibility('partSku')
|
||||
|
||||
const actionItems = {
|
||||
items: [
|
||||
@ -83,7 +82,7 @@ const PartSkus = () => {
|
||||
open={newPartSkuOpen}
|
||||
styles={{ content: { paddingBottom: '24px' } }}
|
||||
footer={null}
|
||||
width={600}
|
||||
width={700}
|
||||
onCancel={() => {
|
||||
setNewPartSkuOpen(false)
|
||||
}}
|
||||
|
||||
@ -51,7 +51,7 @@ const PartInfo = () => {
|
||||
},
|
||||
newPartSku: () => {
|
||||
setNewPartSkuOpen(true)
|
||||
return false
|
||||
return true
|
||||
},
|
||||
edit: () => {
|
||||
objectFormRef?.current?.startEditing?.()
|
||||
@ -147,7 +147,9 @@ const PartInfo = () => {
|
||||
title='Part Information'
|
||||
icon={<InfoCircleIcon />}
|
||||
active={collapseState.info}
|
||||
onToggle={(expanded) => updateCollapseState('info', expanded)}
|
||||
onToggle={(expanded) =>
|
||||
updateCollapseState('info', expanded)
|
||||
}
|
||||
collapseKey='info'
|
||||
>
|
||||
<ObjectInfo
|
||||
@ -184,7 +186,7 @@ const PartInfo = () => {
|
||||
open={newPartSkuOpen}
|
||||
styles={{ content: { paddingBottom: '24px' } }}
|
||||
footer={null}
|
||||
width={600}
|
||||
width={700}
|
||||
onCancel={() => setNewPartSkuOpen(false)}
|
||||
destroyOnClose
|
||||
>
|
||||
|
||||
@ -83,7 +83,7 @@ const ProductSkus = () => {
|
||||
open={newProductSkuOpen}
|
||||
styles={{ content: { paddingBottom: '24px' } }}
|
||||
footer={null}
|
||||
width={600}
|
||||
width={700}
|
||||
onCancel={() => {
|
||||
setNewProductSkuOpen(false)
|
||||
}}
|
||||
|
||||
@ -52,7 +52,7 @@ const ProductInfo = () => {
|
||||
},
|
||||
newProductSku: () => {
|
||||
setNewProductSkuOpen(true)
|
||||
return false
|
||||
return true
|
||||
},
|
||||
edit: () => {
|
||||
objectFormRef?.current?.startEditing?.()
|
||||
@ -190,7 +190,7 @@ const ProductInfo = () => {
|
||||
open={newProductSkuOpen}
|
||||
styles={{ content: { paddingBottom: '24px' } }}
|
||||
footer={null}
|
||||
width={600}
|
||||
width={700}
|
||||
onCancel={() => setNewProductSkuOpen(false)}
|
||||
destroyOnClose
|
||||
>
|
||||
|
||||
@ -74,7 +74,6 @@ export const FilamentSku = {
|
||||
'_reference',
|
||||
'name',
|
||||
'filament',
|
||||
|
||||
'barcode',
|
||||
'color',
|
||||
'overrideCost',
|
||||
|
||||
@ -73,7 +73,6 @@ export const PartSku = {
|
||||
'_reference',
|
||||
'name',
|
||||
'part',
|
||||
|
||||
'barcode',
|
||||
'overrideCost',
|
||||
'cost',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user