+
+ {
+ isLoadingDabItemDetails
+ ? (
+
+
+
+ )
+ : (
+
+ )
+ }
+
+
+ { metadata?.name || DAB_IDENTITY_UNKNOWN }
+ {
+ // If undefined, hide the cellValue
+ derivedId
+ ? cellValue ? ' #' + cellValue : ''
+ : ''
+ }
+
+
- { identityInDab?.name || 'Unknown' }
{
- // If undefined, hide the cellValue
- derivedId
- ? cellValue ? ' #' + cellValue : ''
- : ''
+ !metadata?.name
+ && (
+
+ )
}
-);
\ No newline at end of file
+);
+
+export const UnknownItemCell = ({
+ contractId,
+ children,
+ routeName,
+}: {
+ contractId: string,
+ children: React.ReactNode,
+ routeName: RouteName,
+}) => {
+ const history = useHistory();
+
+ const getRouteByNameHandler = () =>
+ routeName === 'AppTransactions'
+ ? getRouteByName('AppTransactions', { id: contractId })
+ : ''
+
+
+ return (
+