..
This commit is contained in:
@@ -14,6 +14,7 @@ export const FilterButtonGroups = ({
|
||||
for(let i=0;i<btnGroups.length;i++){
|
||||
rs.push(
|
||||
<span
|
||||
key={ `key-btngroup-span-${i}` }
|
||||
className={ `keyword-tag flex-1 ${(activeValue === btnGroups[i]?.value)? 'active': ''}` }
|
||||
onClick={ () => setter(btnGroups[i]?.value || '') }
|
||||
>{ btnGroups[i]?.name }</span>
|
||||
@@ -22,6 +23,7 @@ export const FilterButtonGroups = ({
|
||||
for(let i=0;i<emptySpanCnt;i++){
|
||||
rs.push(
|
||||
<span
|
||||
key={ `key-btngroup-span-nodata-${i}` }
|
||||
className="keyword-tag flex-1"
|
||||
style={{ visibility: 'hidden' }}
|
||||
></span>
|
||||
|
||||
@@ -16,7 +16,7 @@ export const FilterSelect = ({
|
||||
for(let i=0;i<selectOptions.length;i++){
|
||||
rs.push(
|
||||
<option
|
||||
key={ `key-filter-select-input-${i}` }
|
||||
key={ `key-filter-select-${i}` }
|
||||
value={ selectOptions[i]?.value }
|
||||
>{ selectOptions[i]?.name }</option>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user