|
@@ -15,6 +15,7 @@ import {
|
|
|
} from 'antd';
|
|
} from 'antd';
|
|
|
import { DeleteOutlined, MinusOutlined, PlusOutlined, SyncOutlined } from '@ant-design/icons';
|
|
import { DeleteOutlined, MinusOutlined, PlusOutlined, SyncOutlined } from '@ant-design/icons';
|
|
|
|
|
|
|
|
|
|
+import FinalMaskForm from '@/components/FinalMaskForm';
|
|
|
import HeaderMapEditor from '@/components/HeaderMapEditor';
|
|
import HeaderMapEditor from '@/components/HeaderMapEditor';
|
|
|
import InputAddon from '@/components/InputAddon';
|
|
import InputAddon from '@/components/InputAddon';
|
|
|
import JsonEditor from '@/components/JsonEditor';
|
|
import JsonEditor from '@/components/JsonEditor';
|
|
@@ -2140,6 +2141,13 @@ export default function OutboundFormModal({
|
|
|
</Form.Item>
|
|
</Form.Item>
|
|
|
)}
|
|
)}
|
|
|
|
|
|
|
|
|
|
+ <FinalMaskForm
|
|
|
|
|
+ name={['streamSettings', 'finalmask']}
|
|
|
|
|
+ network={network}
|
|
|
|
|
+ protocol={protocol}
|
|
|
|
|
+ form={form}
|
|
|
|
|
+ />
|
|
|
|
|
+
|
|
|
{(() => {
|
|
{(() => {
|
|
|
const flow = (form.getFieldValue(['settings', 'flow']) ?? '') as string;
|
|
const flow = (form.getFieldValue(['settings', 'flow']) ?? '') as string;
|
|
|
if (!isMuxAllowed(protocol, flow, network)) return null;
|
|
if (!isMuxAllowed(protocol, flow, network)) return null;
|