(scope_8: string)
| 2156 | |
| 2157 | // Get scope label |
| 2158 | const getScopeLabel = (scope_8: string): string => { |
| 2159 | switch (scope_8) { |
| 2160 | case 'flagged': |
| 2161 | return 'Flagged'; |
| 2162 | case 'project': |
| 2163 | return 'Project'; |
| 2164 | case 'local': |
| 2165 | return 'Local'; |
| 2166 | case 'user': |
| 2167 | return 'User'; |
| 2168 | case 'enterprise': |
| 2169 | return 'Enterprise'; |
| 2170 | case 'managed': |
| 2171 | return 'Managed'; |
| 2172 | case 'builtin': |
| 2173 | return 'Built-in'; |
| 2174 | case 'dynamic': |
| 2175 | return 'Built-in'; |
| 2176 | default: |
| 2177 | return scope_8; |
| 2178 | } |
| 2179 | }; |
| 2180 | return <React.Fragment key={item_10.id}> |
| 2181 | {showScopeHeader && <Box marginTop={visibleIndex > 0 ? 1 : 0} paddingLeft={2}> |
| 2182 | <Text dimColor={item_10.scope !== 'flagged'} color={item_10.scope === 'flagged' ? 'warning' : undefined} bold={item_10.scope === 'flagged'}> |
no outgoing calls
no test coverage detected