Skip to content

Commit f8e878d

Browse files
fix: typoo
1 parent 82c59f2 commit f8e878d

2 files changed

Lines changed: 3 additions & 7 deletions

File tree

frontend/packages/volto-searchblocks/src/actions/searchBlocks.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { SEARCH_BLOCKS } from '../constants/ActionTypes';
33
export function searchBlocks(options = {}) {
44
const params = {
55
sort_on: 'sortable_title',
6-
metadata_fields: ['modified', 'created', 'Type', 'review_title'],
6+
metadata_fields: ['modified', 'created', 'Type'],
77
};
88

99
if (options.block_types) {

frontend/packages/volto-searchblocks/src/components/SearchBlocks/SearchBlocks.jsx

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -234,15 +234,11 @@ const SearchBlocks = (props) => {
234234
<Table.Cell>
235235
<a href={item['@id']}>{item.title}</a>
236236
</Table.Cell>
237-
<Table.Cell>
238-
{item['Type'] || item['@type']}
239-
</Table.Cell>
237+
<Table.Cell>{item['Type'] || item['@type']}</Table.Cell>
240238
<Table.Cell>
241239
{item.review_title ||
242240
(messages[item.review_state]
243-
? intl.formatMessage(
244-
messages[item.review_state],
245-
)
241+
? intl.formatMessage(messages[item.review_state])
246242
: item.review_state) ||
247243
'-'}
248244
</Table.Cell>

0 commit comments

Comments
 (0)