Skip to content

Commit

Permalink
removed full_id column (from display only) and added Accession aka se…
Browse files Browse the repository at this point in the history
…quence_link column and enabled the link
  • Loading branch information
bobular committed Jun 24, 2024
1 parent 9ecec3d commit 443528c
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,13 +62,14 @@ export function RecordTable_Sequences(
const [highlightedNodes, setHighlightedNodes] = useState<string[]>([]);

const mesaColumns: MesaColumn<RowType>[] = props.table.attributes
.map(({ name, displayName }) => ({
.map(({ name, displayName, type }) => ({
key: name,
name: displayName,
type: type === 'link' ? 'wdkLink' : type,
}))
// and remove a raw HTML checkbox field - we'll use Mesa's built-in checkboxes for this
// and an object-laden 'sequence_link' field - the ID seems to be replicated in the full_id field
.filter(({ key }) => key !== 'clustalInput' && key !== 'sequence_link');
.filter(({ key }) => key !== 'clustalInput' && key !== 'full_id');

const mesaRows = props.value;
const pfamRows = props.record.tables['PFams'];
Expand Down

0 comments on commit 443528c

Please sign in to comment.