Merge branch '21449-lsf-maxruntime'
[arvados.git] / services / workbench2 / src / views-components / data-explorer / renderers.tsx
index 478dd1860123c962d915951c423ab96e9ac8d02d..91b06c2b2f0a9e22d0d407422d4c2b0fc4636729 100644 (file)
@@ -895,35 +895,6 @@ const ownerFromResourceId = compose(
 const _resourceWithName = withStyles(
     {},
     { withTheme: true }
-)((props: { uuid: string; userFullname: string; dispatch: Dispatch; theme: ArvadosTheme }) => {
-    const { uuid, userFullname, dispatch, theme } = props;
-    if (userFullname === "") {
-        dispatch<any>(loadResource(uuid, false));
-        return (
-            <Typography
-                style={{ color: theme.palette.primary.main }}
-                inline
-                noWrap
-            >
-                {uuid}
-            </Typography>
-        );
-    }
-
-    return (
-        <Typography
-            style={{ color: theme.palette.primary.main }}
-            inline
-            noWrap
-        >
-            {userFullname} ({uuid})
-        </Typography>
-    );
-});
-
-const _resourceWithNameWrap = withStyles(
-    {},
-    { withTheme: true }
 )((props: { uuid: string; userFullname: string; dispatch: Dispatch; theme: ArvadosTheme }) => {
     const { uuid, userFullname, dispatch, theme } = props;
     if (userFullname === "") {
@@ -976,8 +947,6 @@ export const ResourceOwnerWithName = ownerFromResourceId(_resourceWithName);
 
 export const ResourceWithName = userFromID(_resourceWithName);
 
-export const ResourceWithNameWrap = userFromID(_resourceWithNameWrap);
-
 export const UserNameFromID = compose(userFromID)((props: { uuid: string; displayAsText?: string; userFullname: string; dispatch: Dispatch }) => {
     const { uuid, userFullname, dispatch } = props;