diff --git a/frontend/src/views/host/firewall/port/index.vue b/frontend/src/views/host/firewall/port/index.vue
index 743f7ab05..ee05153ee 100644
--- a/frontend/src/views/host/firewall/port/index.vue
+++ b/frontend/src/views/host/firewall/port/index.vue
@@ -68,7 +68,7 @@
@search="search"
:data="data"
>
-
+
@@ -87,7 +87,6 @@
{
});
};
-function selectable(row) {
- return row.appName !== '1panel';
-}
-
const buttons = [
{
label: i18n.global.t('commons.button.edit'),
click: (row: Host.RulePort) => {
onOpenDialog('edit', row);
},
- disabled: (row: any) => {
- return row.appName === '1panel';
- },
},
{
label: i18n.global.t('commons.button.delete'),
click: (row: Host.RuleInfo) => {
onDelete(row);
},
- disabled: (row: any) => {
- return row.appName === '1panel';
- },
},
];