From bf176512706a4a501a969045173751e18b8f2aba Mon Sep 17 00:00:00 2001 From: daryl Date: Tue, 12 Sep 2023 14:49:18 +0800 Subject: [PATCH] feat(script-info): add refererring cells tab to script info page. (#95) * feat(script-info): referring cell * feat(script-info): add refererring cell capacity --- src/pages/Script/index.tsx | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/pages/Script/index.tsx b/src/pages/Script/index.tsx index e23114969..907d56bf1 100644 --- a/src/pages/Script/index.tsx +++ b/src/pages/Script/index.tsx @@ -81,8 +81,7 @@ const getScriptInfo = (scriptInfo: ScriptInfo) => { }, ] - // don't show `referring_cells` temporarily - return items.slice(0, 6) + return items } const ScriptsTitleOverview = ({ scriptInfo }: { scriptInfo: ScriptInfo }) => { @@ -198,9 +197,7 @@ export const ScriptPage = () => { key: 'referring_cells', children: , }, - ] - // don't show `referring_cells` temporarily - .slice(0, 2)} + ]} />