Skip to content

Commit 391cd50

Browse files
samejrmatt-aitken
authored andcommitted
Show an admin only separator
1 parent ddc8735 commit 391cd50

File tree

1 file changed

+5
-2
lines changed
  • apps/webapp/app/routes/resources.orgs.$organizationSlug.projects.$projectParam.env.$envParam.runs.$runParam.spans.$spanParam

1 file changed

+5
-2
lines changed

apps/webapp/app/routes/resources.orgs.$organizationSlug.projects.$projectParam.env.$envParam.runs.$runParam.spans.$spanParam/route.tsx

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -738,12 +738,15 @@ function RunBody({
738738
<Property.Value>{run.engine}</Property.Value>
739739
</Property.Item>
740740
{isAdmin && (
741-
<>
741+
<div className="border-t border-yellow-500/50 pt-2">
742+
<Paragraph spacing variant="small" className="text-yellow-500">
743+
Admin only
744+
</Paragraph>
742745
<Property.Item>
743746
<Property.Label>Worker queue</Property.Label>
744747
<Property.Value>{run.workerQueue}</Property.Value>
745748
</Property.Item>
746-
</>
749+
</div>
747750
)}
748751
</Property.Table>
749752
</div>

0 commit comments

Comments
 (0)