Skip to content

Commit 53356b0

Browse files
committed
feat: add slot for customizable run name display in ECCClientGa4ghWesRuns component
1 parent ff1558e commit 53356b0

File tree

1 file changed

+10
-8
lines changed
  • packages/ecc-client-ga4gh-wes/src/components/runs

1 file changed

+10
-8
lines changed

packages/ecc-client-ga4gh-wes/src/components/runs/runs.ts

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -462,14 +462,16 @@ export class ECCClientGa4ghWesRuns extends LitElement {
462462
(run) => html`
463463
<ecc-utils-design-table-row>
464464
<ecc-utils-design-table-cell class="w-6/12">
465-
<ecc-utils-design-button
466-
class="part:font-mono part:text-sm part:w-fit part:cursor-pointer part:p-0"
467-
variant="link"
468-
@click=${() => this.handleViewDetails(run.run_id)}
469-
title=${run.run_id}
470-
>
471-
${ECCClientGa4ghWesRuns.formatRunId(run.run_id)}
472-
</ecc-utils-design-button>
465+
<slot name=${`run-name-${run.run_id}`}>
466+
<ecc-utils-design-button
467+
class="part:font-mono part:text-sm part:w-fit part:cursor-pointer part:p-0"
468+
variant="link"
469+
@click=${() => this.handleViewDetails(run.run_id)}
470+
title=${run.run_id}
471+
>
472+
${ECCClientGa4ghWesRuns.formatRunId(run.run_id)}
473+
</ecc-utils-design-button>
474+
</slot>
473475
</ecc-utils-design-table-cell>
474476
<ecc-utils-design-table-cell class="w-2/12">
475477
${(() => {

0 commit comments

Comments
 (0)