From 6b56c545b6dc5ec1ec298375be7f011aefb7043a Mon Sep 17 00:00:00 2001 From: Keith Date: Wed, 8 Nov 2023 01:11:42 +0900 Subject: [PATCH] feat: hide script item from list if its deployment info is not set --- src/pages/ScriptList/index.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pages/ScriptList/index.tsx b/src/pages/ScriptList/index.tsx index 6e06be2b8..a946b8b50 100644 --- a/src/pages/ScriptList/index.tsx +++ b/src/pages/ScriptList/index.tsx @@ -210,6 +210,7 @@ const ScriptList: FC = () => {
{[...scripts].map(([label, meta]) => { const script = scriptDataList.find(s => s.tag === label) + if (!script) return null return (