Skip to content

Commit

Permalink
Show searchblock in edit mode
Browse files Browse the repository at this point in the history
  • Loading branch information
ksuess committed Nov 17, 2022
1 parent 0dacaab commit 5fc08e6
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions src/components/Blocks/FacetedSearchBlockEdit.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,21 @@ import React from 'react';
import { SidebarPortal } from '@plone/volto/components';

import Sidebar from './Sidebar';
// import FacetedSearch from '../Views/FacetedSearch';
import FacetedSearch from '../Views/FacetedSearch';

const Edit = ({ data, onChangeBlock, block, selected }) => {
return (
<div className="block searchkitsearch">
<SidebarPortal selected={selected}>
<Sidebar data={data} block={block} onChangeBlock={onChangeBlock} />
<Sidebar
data={data}
block={block}
onChangeBlock={onChangeBlock} />
</SidebarPortal>

<p><b>Searchkit search. Voll elastisch.</b></p>
<div className="block searchkitsearch">
<FacetedSearch data={data} />
</div>
</div>
);
};
Expand Down

0 comments on commit 5fc08e6

Please sign in to comment.