[arvados] updated: 2.7.0-5847-g1ce0311f3d

git repository hosting git at public.arvados.org
Mon Jan 29 19:59:29 UTC 2024


Summary of changes:
 .../project-details-card/project-details-card.tsx              | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

       via  1ce0311f3df3447fc8b9a56599c350276d71118d (commit)
      from  2337113e2deb23fdcd40e7a87f7ecf02fadcee80 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit 1ce0311f3df3447fc8b9a56599c350276d71118d
Author: Lisa Knox <lisaknox83 at gmail.com>
Date:   Mon Jan 29 14:59:25 2024 -0500

    21224: fixed unfreeze bug Arvados-DCO-1.1-Signed-off-by: Lisa Knox <lisa.knox at curii.com>

diff --git a/services/workbench2/src/views-components/project-details-card/project-details-card.tsx b/services/workbench2/src/views-components/project-details-card/project-details-card.tsx
index 0093d86b83..3ed07a472d 100644
--- a/services/workbench2/src/views-components/project-details-card/project-details-card.tsx
+++ b/services/workbench2/src/views-components/project-details-card/project-details-card.tsx
@@ -142,7 +142,7 @@ const mapDispatchToProps = (dispatch: any) => ({
                     kind: resource.kind,
                     menuKind,
                     isAdmin,
-                    isFrozen: !!resource.frozenById,
+                    isFrozen: !!resource.frozenByUuid,
                     description: resource.description,
                     storageClassesDesired: (resource as CollectionResource).storageClassesDesired,
                     properties: 'properties' in resource ? resource.properties : {},
@@ -254,12 +254,12 @@ const ProjectCard: React.FC<ProjectCardProps> = ({ classes, currentResource, fro
                             className={classes.faveIcon}
                             resourceUuid={currentResource.uuid}
                         />
-                        <Tooltip
+                        {!!frozenByFullName && <Tooltip
                             className={classes.frozenIcon}
-                            title={!!frozenByFullName && <span>Project was frozen by {frozenByFullName}</span>}
+                            title={<span>Project was frozen by {frozenByFullName}</span>}
                         >
                             <FreezeIcon style={{ fontSize: 'inherit' }} />
-                        </Tooltip>
+                        </Tooltip>}
                     </section>
                     <section className={classes.chipsection}>
                     <Typography component='div'>
@@ -290,7 +290,7 @@ const ProjectCard: React.FC<ProjectCardProps> = ({ classes, currentResource, fro
             <CardContent className={classes.cardcontent}>
                 {description && (
                         <section>
-                            <Typography className={classes.fadeout}>{description.replace(/<[^>]*>/g, '').slice(0, 45)}...</Typography>
+                            {/* <Typography className={classes.fadeout}>{description.replace(/<[^>]*>/g, '').slice(0, 45)}...</Typography> */}
                             <div className={classes.showmore}>
                                 <RichTextEditorLink
                                     title={`Description of ${name}`}

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list