Skip to content

Commit

Permalink
feat: add email in breadcrumbs from table
Browse files Browse the repository at this point in the history
  • Loading branch information
Mohamed-Hacene committed Dec 21, 2024
1 parent f1a1cfa commit 03f4e81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/lib/components/ModelTable/ModelTable.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
const rowMetaData = $rows[rowIndex].meta;
if (!rowMetaData[identifierField] || !URLModel) return;
goto(`/${URLModel}/${rowMetaData[identifierField]}${detailQueryParameter}`, {
label: rowMetaData.str ?? rowMetaData.name ?? rowMetaData[identifierField],
label: rowMetaData.str ?? rowMetaData.name ?? rowMetaData.email ?? rowMetaData[identifierField],
breadcrumbAction: 'push'
});
}
Expand Down

0 comments on commit 03f4e81

Please sign in to comment.