Skip to content

Commit

Permalink
feat(script-info): add refererring cells tab to script info page. (#95)
Browse files Browse the repository at this point in the history
* feat(script-info): referring cell

* feat(script-info): add refererring cell capacity
  • Loading branch information
Daryl-L authored Sep 12, 2023
1 parent 5f0edee commit bf17651
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/pages/Script/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 }) => {
Expand Down Expand Up @@ -198,9 +197,7 @@ export const ScriptPage = () => {
key: 'referring_cells',
children: <ScriptCells page={currentPage} size={pageSize} cellType="referring_cells" />,
},
]
// don't show `referring_cells` temporarily
.slice(0, 2)}
]}
/>
</div>
</Content>
Expand Down

0 comments on commit bf17651

Please sign in to comment.