mirror of
https://github.com/perfect-panel/ppanel-web.git
synced 2026-02-15 04:41:10 -05:00
♻️ refactor: Remove unused preview state variables and add sort order to node properties
This commit is contained in:
parent
c4f536eb05
commit
e63f823b0b
@ -83,8 +83,6 @@ export function ProtocolForm() {
|
|||||||
const t = useTranslations('subscribe');
|
const t = useTranslations('subscribe');
|
||||||
const [loading, setLoading] = useState(false);
|
const [loading, setLoading] = useState(false);
|
||||||
const [open, setOpen] = useState(false);
|
const [open, setOpen] = useState(false);
|
||||||
const [previewOpen, setPreviewOpen] = useState(false);
|
|
||||||
const [previewApplicationId, setPreviewApplicationId] = useState<number | null>(null);
|
|
||||||
const [editingClient, setEditingClient] = useState<API.SubscribeApplication | null>(null);
|
const [editingClient, setEditingClient] = useState<API.SubscribeApplication | null>(null);
|
||||||
const tableRef = useRef<ProTableActions>(null);
|
const tableRef = useRef<ProTableActions>(null);
|
||||||
|
|
||||||
@ -670,6 +668,7 @@ export function ProtocolForm() {
|
|||||||
description: 'Node tags',
|
description: 'Node tags',
|
||||||
items: { type: 'string' },
|
items: { type: 'string' },
|
||||||
},
|
},
|
||||||
|
Sort: { type: 'number', description: 'Node sort order' },
|
||||||
// Security Options
|
// Security Options
|
||||||
Security: {
|
Security: {
|
||||||
type: 'string',
|
type: 'string',
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user