From 99951029c831f4031be45e5226647edd2e2c512c Mon Sep 17 00:00:00 2001 From: zhengkunwang <31820853+zhengkunwang223@users.noreply.github.com> Date: Sat, 14 Oct 2023 10:53:57 -0500 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=AE=B9=E5=99=A8=E7=BC=96=E8=BE=91?= =?UTF-8?q?=E6=8F=90=E7=A4=BA=E5=A2=9E=E5=8A=A0=E5=88=A4=E6=96=AD=E6=9D=A1?= =?UTF-8?q?=E4=BB=B6=20(#2553)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/views/container/container/operate/index.vue | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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, });