Update ModalConfigRamFlash.tsx
This commit is contained in:
parent
9fcf03e3a7
commit
db62385b29
|
|
@ -292,9 +292,7 @@ export default function ModalConfigRamFlash({ opened, onClose }: Props) {
|
||||||
/>
|
/>
|
||||||
</Flex>
|
</Flex>
|
||||||
<Button
|
<Button
|
||||||
disabled={
|
disabled={disabled || newConfig.models.length === 0}
|
||||||
disabled || newConfig.models.length === 0 || !newConfig.ram
|
|
||||||
}
|
|
||||||
size="xs"
|
size="xs"
|
||||||
color="green"
|
color="green"
|
||||||
onClick={() => handleAdd()}
|
onClick={() => handleAdd()}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue