diff --git a/web/src/pages/stages/prompt/PromptListPage.ts b/web/src/pages/stages/prompt/PromptListPage.ts index 4783da44e..a855b4796 100644 --- a/web/src/pages/stages/prompt/PromptListPage.ts +++ b/web/src/pages/stages/prompt/PromptListPage.ts @@ -14,6 +14,7 @@ import "../../../elements/forms/DeleteBulkForm"; import "../../../elements/forms/ModalForm"; import { TableColumn } from "../../../elements/table/Table"; import { TablePage } from "../../../elements/table/TablePage"; +import { truncate } from "../../../utils"; import "./PromptForm"; @customElement("ak-stage-prompt-list") @@ -81,7 +82,7 @@ export class PromptListPage extends TablePage { row(item: Prompt): TemplateResult[] { return [ html`${item.fieldKey}`, - html`${item.label}`, + html`${truncate(item.label, 20)}`, html`${item.type}`, html`${item.order}`, html`${item.promptstageSet?.map((stage) => {