diff --git a/frontend/src/views/container/container/operate/index.vue b/frontend/src/views/container/container/operate/index.vue index 6205f05f7..7979b3a5a 100644 --- a/frontend/src/views/container/container/operate/index.vue +++ b/frontend/src/views/container/container/operate/index.vue @@ -25,7 +25,7 @@ { } return true; }; + +const isFromApp = (rowData: Container.ContainerHelper) => { + if (rowData && rowData.labels) { + return rowData.labels.indexOf('createdBy=Apps') > -1; + } + return false; +}; defineExpose({ acceptParams, });