chore: init worker selector
This commit is contained in:
@@ -292,7 +292,6 @@ const AddModal: FC<AddModalProps> = (props) => {
|
||||
deploymentType === 'modelList' && (
|
||||
<TitleWrapper>
|
||||
{intl.formatMessage({ id: 'models.form.configurations' })}
|
||||
<span style={{ display: 'flex', height: 24 }}></span>
|
||||
</TitleWrapper>
|
||||
)}
|
||||
<DataForm
|
||||
|
||||
@@ -259,8 +259,7 @@ const Models: React.FC<ModelsProps> = ({
|
||||
);
|
||||
await updateModel({
|
||||
data: {
|
||||
...result.values,
|
||||
..._.omit(data, result.omits)
|
||||
...result.values
|
||||
},
|
||||
id: currentData.current?.id as number
|
||||
});
|
||||
@@ -296,8 +295,7 @@ const Models: React.FC<ModelsProps> = ({
|
||||
|
||||
const modelData = await createModel({
|
||||
data: {
|
||||
...result.values,
|
||||
..._.omit(data, result.omits)
|
||||
...result.values
|
||||
}
|
||||
});
|
||||
setOpenDeployModal({
|
||||
|
||||
@@ -2,7 +2,11 @@ import React from 'react';
|
||||
import '../style/title-wrapper.less';
|
||||
|
||||
const TitleWrapper: React.FC<any> = ({ children }) => {
|
||||
return <h3 className="h3">{children}</h3>;
|
||||
return (
|
||||
<h3 className="h3" style={{ height: 50 }}>
|
||||
{children}
|
||||
</h3>
|
||||
);
|
||||
};
|
||||
|
||||
export default TitleWrapper;
|
||||
|
||||
Reference in New Issue
Block a user