Skip to content

Commit 71f4fe5

Browse files
committed
Fix tags
1 parent 2bc6ccf commit 71f4fe5

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

site/src/pages/OrganizationSettingsPage/OrganizationProvisionersPage.tsx

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ const JobRow: FC<JobRowProps> = ({ job }) => {
171171
<button
172172
className={cn([
173173
"flex items-center gap-1 p-0 bg-transparent border-0 text-inherit text-xs cursor-pointer",
174-
"transition-colors hover:text-content-primary font-medium",
174+
"transition-colors hover:text-content-primary font-medium whitespace-nowrap",
175175
isOpen && "text-content-primary",
176176
])}
177177
type="button"
@@ -194,7 +194,7 @@ const JobRow: FC<JobRowProps> = ({ job }) => {
194194
</TableCell>
195195
<TableCell>
196196
{job.metadata.template_name ? (
197-
<div className="flex items-center gap-1">
197+
<div className="flex items-center gap-1 whitespace-nowrap">
198198
<Avatar
199199
variant="icon"
200200
src={metadata.template_icon}
@@ -209,7 +209,14 @@ const JobRow: FC<JobRowProps> = ({ job }) => {
209209
)}
210210
</TableCell>
211211
<TableCell>
212-
<Badge size="sm">[foo=bar]</Badge>
212+
<div className="flex items-center gap-1 flex-wrap">
213+
{Object.entries(job.tags).map(([k, v]) => (
214+
<Badge size="sm" key={k} className="whitespace-nowrap">
215+
[{k}
216+
{v && `=${v}`}]
217+
</Badge>
218+
))}
219+
</div>
213220
</TableCell>
214221
<TableCell>
215222
<StatusIndicator

0 commit comments

Comments
 (0)