Skip to content

Commit

Permalink
Added ability to show in process columns
Browse files Browse the repository at this point in the history
  • Loading branch information
davenquinn committed Jun 10, 2024
1 parent 53dd60b commit 5c40988
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions packages/column-views/src/map/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ const ColumnNavigatorMap = (props) => {
margin = 10,
scale,
className,
showInProcessColumns = false,
...rest
} = props;

Expand All @@ -69,6 +70,13 @@ const ColumnNavigatorMap = (props) => {
col_id: currentColumn?.properties.col_id,
...rest,
}),
h.if(showInProcessColumns)(Columns, {
onChange: setCurrentColumn,
col_id: currentColumn?.properties.col_id,
status_code: "in process",
color: "rgba(200,150,150, 0.5)",
...rest,
}),
h.if(currentColumn != null)(CurrentColumn, { feature: currentColumn }),
]
);
Expand Down

0 comments on commit 5c40988

Please sign in to comment.