diff --git a/editor.planx.uk/src/pages/FlowEditor/components/Sidebar/Search/SearchResultCard/dataFacets.test.ts b/editor.planx.uk/src/pages/FlowEditor/components/Sidebar/Search/SearchResultCard/dataFacets.test.ts index 7eba2e3dc0..ad8b0d9b5d 100644 --- a/editor.planx.uk/src/pages/FlowEditor/components/Sidebar/Search/SearchResultCard/dataFacets.test.ts +++ b/editor.planx.uk/src/pages/FlowEditor/components/Sidebar/Search/SearchResultCard/dataFacets.test.ts @@ -93,7 +93,7 @@ describe("Calculate component", () => { componentType: "Calculate", headline: "calculateOutput", iconKey: ComponentType.Calculate, - key: "Output (data)", + key: "Data", title: "This is a calculate component", }); }); diff --git a/editor.planx.uk/src/pages/FlowEditor/components/Sidebar/Search/SearchResultCard/getDisplayDetailsForResult.tsx b/editor.planx.uk/src/pages/FlowEditor/components/Sidebar/Search/SearchResultCard/getDisplayDetailsForResult.tsx index c725d96214..9e7f5a5ffd 100644 --- a/editor.planx.uk/src/pages/FlowEditor/components/Sidebar/Search/SearchResultCard/getDisplayDetailsForResult.tsx +++ b/editor.planx.uk/src/pages/FlowEditor/components/Sidebar/Search/SearchResultCard/getDisplayDetailsForResult.tsx @@ -199,7 +199,7 @@ const keyFormatters: KeyMap = { getHeadline: ({ item }) => (item.data as unknown as Calculate).formula, }, "data.output": { - getDisplayKey: () => "Output (data)", + getDisplayKey: () => "Data", }, // List contains data variables nested within its schema "data.schema.fields.data.fn": {