Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
bunsenstraat committed Dec 20, 2024
1 parent 9811abb commit c2886bc
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion libs/remix-ui/grid-view/src/lib/remix-ui-grid-cell.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export const RemixUIGridCell = (props: RemixUIGridCellProps) => {
props.searchKeywords?.map(keyword => keyword?.toLowerCase()).some(searchKeyword => searchKeyword?.toLowerCase().includes(filterCon.filter?.toLocaleLowerCase())))

setAnyEnabled(enabled)
if(callbackContext.onChildCallback && (props.id || props.title)) callbackContext.onChildCallback((props.id || props.title), enabled)
if (callbackContext.onChildCallback && (props.id || props.title)) callbackContext.onChildCallback((props.id || props.title), enabled)
}, [filterCon, props.tagList])

useEffect(() => {
Expand Down
28 changes: 14 additions & 14 deletions libs/remix-ui/grid-view/src/lib/remix-ui-grid-section.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,22 +61,22 @@ export const RemixUIGridSection = (props: RemixUIGridSectionProps) => {

return (
<ChildCallbackContext.Provider value={{ onChildCallback }}>
<div
className={`${hide? 'd-none': `d-flex px-4 py-2 flex-column w-100 remixui_grid_section_container ${props.classList}`}`}
data-id={"remixUIGS" + props.title}
style={{ overflowX: 'auto' }}
>
<div className={`w-100 remixui_grid_section`}>
{ props.title && <h6 className={`mt-1 mb-0 align-items-left`}>{ props.title }</h6> }
<div className={(props.hScrollable) ? `d-flex flex-row pb-2 overflow-auto` : `d-flex flex-wrap`}>
{ props.children }
<div
className={`${hide? 'd-none': `d-flex px-4 py-2 flex-column w-100 remixui_grid_section_container ${props.classList}`}`}
data-id={"remixUIGS" + props.title}
style={{ overflowX: 'auto' }}
>
<div className={`w-100 remixui_grid_section`}>
{ props.title && <h6 className={`mt-1 mb-0 align-items-left`}>{ props.title }</h6> }
<div className={(props.hScrollable) ? `d-flex flex-row pb-2 overflow-auto` : `d-flex flex-wrap`}>
{ props.children }
</div>
{ props.expandedCell && <div>
{ props.expandedCell }
</div>
}
</div>
{ props.expandedCell && <div>
{ props.expandedCell }
</div>
}
</div>
</div>
</ChildCallbackContext.Provider>
)
}
Expand Down

0 comments on commit c2886bc

Please sign in to comment.