fix: remove the pined worker config changed notice

This commit is contained in:
Yuxing Deng
2026-06-09 17:54:23 +08:00
committed by jialin
parent dd542a9f29
commit ac800a303a
7 changed files with 51 additions and 45 deletions
@@ -1,8 +1,7 @@
import { PageAction } from '@/config';
import { PageActionType } from '@/config/types';
import useUserSettings from '@/hooks/use-user-settings';
import { ExclamationCircleFilled } from '@ant-design/icons';
import { AlertBlockInfo, Input as CInput, IconFont } from '@gpustack/core-ui';
import { Input as CInput, IconFont } from '@gpustack/core-ui';
import { YamlEditor } from '@gpustack/core-ui/yaml-editor';
import { useIntl } from '@umijs/max';
import { Button, Form } from 'antd';
@@ -120,14 +119,6 @@ const ClusterAdvanceConfig: React.FC<{
<Title>
{intl.formatMessage({ id: 'clusters.create.workerConfig' })}
</Title>
{action === PageAction.EDIT && (
<AlertBlockInfo
type="warning"
style={{ marginBottom: 8 }}
icon={<ExclamationCircleFilled />}
message={intl.formatMessage({ id: 'clusters.edit.workerConfig.tip' })}
></AlertBlockInfo>
)}
<YamlEditor
ref={editorRef}
isDarkTheme={isDarkTheme}