Skip to content

Commit

Permalink
Move 'Go To Linked Record' option to cell options section
Browse files Browse the repository at this point in the history
  • Loading branch information
pavish committed Apr 17, 2023
1 parent 4e1af61 commit 9b78059
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions mathesar_ui/src/systems/table-view/row/RowCell.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,11 @@
>
Set to <Null />
</ButtonMenuItem>
{#if linkedRecordHref}
<LinkMenuItem icon={iconLinkToRecordPage} href={linkedRecordHref}>
Go To Linked Record
</LinkMenuItem>
{/if}
<MenuDivider />
<!-- Column Attributes -->
<ColumnHeaderContextMenu {processedColumn} />
Expand All @@ -202,11 +207,6 @@
<!-- Row -->
<RowContextOptions recordId={rowKey} {recordsData} {row} />
<!-- Row end -->
{#if linkedRecordHref}
<LinkMenuItem icon={iconLinkToRecordPage} href={linkedRecordHref}>
Go To Linked Record
</LinkMenuItem>
{/if}
</ContextMenu>
{#if errors.length}
<CellErrors {errors} forceShowErrors={isActive} />
Expand Down

0 comments on commit 9b78059

Please sign in to comment.