fix: storage api alignment
This commit is contained in:
@@ -11,7 +11,7 @@ import { FormData } from '../config/types';
|
||||
import Ports from './ports';
|
||||
|
||||
interface BasicProps {
|
||||
page: 'template' | 'instance';
|
||||
page?: 'template' | 'instance';
|
||||
}
|
||||
|
||||
const Basic: React.FC<BasicProps> = ({ page = 'template' }) => {
|
||||
|
||||
@@ -45,7 +45,6 @@ const PortItem: React.FC<PortItemProps> = ({ item, index, onChange }) => {
|
||||
<CInputNumber
|
||||
min={1}
|
||||
max={65535}
|
||||
disabled={index === 0}
|
||||
precision={0}
|
||||
value={item.value}
|
||||
onChange={(value) => {
|
||||
|
||||
Reference in New Issue
Block a user