From ba1cf95ffd59a5f1abf79d9d476e2584c917542d Mon Sep 17 00:00:00 2001 From: Dennis Zoma Date: Mon, 7 Oct 2024 08:38:22 +0200 Subject: [PATCH] feat: Show slug in content relationship combobox option --- .../components/Fields/ContentTypeRelationshipField.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/panelWebView/components/Fields/ContentTypeRelationshipField.tsx b/src/panelWebView/components/Fields/ContentTypeRelationshipField.tsx index 873713e2..bcedd18e 100644 --- a/src/panelWebView/components/Fields/ContentTypeRelationshipField.tsx +++ b/src/panelWebView/components/Fields/ContentTypeRelationshipField.tsx @@ -219,6 +219,7 @@ export const ContentTypeRelationshipField: React.FunctionComponent `py-[var(--input-padding-vertical)] px-[var(--input-padding-horizontal)] list-none cursor-pointer hover:text-[var(--vscode-button-foreground)] hover:bg-[var(--vscode-button-hoverBackground)] ${active ? "text-[var(--vscode-button-foreground)] bg-[var(--vscode-button-hoverBackground)] " : ""}`}> {choice.title} +
{choice.slug}
))}