List type check on faceted block save function
This commit is contained in:
parent
49ceff456c
commit
0900c78d87
|
@ -1240,7 +1240,7 @@ registerBlockType('tainacan/faceted-search', {
|
||||||
updatedListType = 'collection';
|
updatedListType = 'collection';
|
||||||
else if (updatedListType === '' && termId && taxonomyId)
|
else if (updatedListType === '' && termId && taxonomyId)
|
||||||
updatedListType = 'term'
|
updatedListType = 'term'
|
||||||
console.log(updatedListType, collectionId)
|
|
||||||
return <div
|
return <div
|
||||||
style={{
|
style={{
|
||||||
'font-size': baseFontSize + 'px',
|
'font-size': baseFontSize + 'px',
|
||||||
|
|
Loading…
Reference in New Issue