Explorar el Código

revert button first

master
cyril.tsui hace 2 meses
padre
commit
e0ad3fb7f6
Se han modificado 2 ficheros con 3 adiciones y 3 borrados
  1. +2
    -2
      src/components/JoSave/JoRelease.tsx
  2. +1
    -1
      src/components/JoSave/JoSave.tsx

+ 2
- 2
src/components/JoSave/JoRelease.tsx Ver fichero

@@ -100,14 +100,14 @@ const JoRelease: React.FC<Props> = ({
{t("Lines with insufficient stock: ")}<strong style={{ color: 'red' }}>{stockCounts.insufficient}</strong>
</Typography>

<Button
{/* <Button
variant="contained"
color="primary"
onClick={handleRelease}
disabled={stockCounts.insufficient > 0 || status !== "planning"}
>
{t("Release")}
</Button>
</Button> */}
</Stack>



+ 1
- 1
src/components/JoSave/JoSave.tsx Ver fichero

@@ -192,7 +192,7 @@ const JoSave: React.FC<Props> = ({
{serverError}
</Typography>
)}
{/*<ActionButtons handleRelease={handleRelease} handleStart={handleStart}/>*/}
<ActionButtons handleRelease={handleRelease} handleStart={handleStart}/>
<InfoCard />
<JoRelease pickLines={pickLines} handleRelease={handleRelease}/>
<PickTable />


Cargando…
Cancelar
Guardar