diff --git a/public/pages/workflows/workflow_list/resource_list.tsx b/public/pages/workflows/workflow_list/resource_list.tsx index 4a4fcae4..3848033d 100644 --- a/public/pages/workflows/workflow_list/resource_list.tsx +++ b/public/pages/workflows/workflow_list/resource_list.tsx @@ -70,7 +70,7 @@ export function ResourceList(props: ResourceListProps) { - {!isEmpty(data) && !loading ? ( + {!data.startsWith('error:') && !loading ? ( Error loading resource details} - body={ -

- You do not have permissions to access details of this - resource. -

- } + body={

{data.replace(/^error:\s*/, '')}

} /> )}
@@ -122,7 +117,7 @@ export function ResourceList(props: ResourceListProps) { } catch (error) { setItemIdToExpandedRowMap((prevMap) => ({ ...prevMap, - [item.id]: renderExpandedRow(''), + [item.id]: renderExpandedRow('error:' + error), })); } }