pull/5003/head
lianahus 7 months ago committed by Aniket
parent b86868802d
commit a72f403b84
  1. 1
      libs/remix-ui/grid-view/src/lib/remix-ui-grid-cell.tsx

@ -77,6 +77,7 @@ export const RemixUIGridCell = (props: RemixUIGridCellProps) => {
</div>
{ filterCon.showPin && <button
className={`${pinned ? 'fa-duotone' : 'fa-light'}` + ` fa-map-pin text-info border-0 mb-0 remixui_grid_cell_pin`}
style={{ fontSize: 'large' }}
onClick={() => {
if (!props.pinStateCallback) setPinned(!pinned)
if (await props.pinStateCallback(!pinned)) setPinned(!pinned)

Loading…
Cancel
Save