Don't push onto history when launching process

This commit is contained in:
2023-06-05 16:49:51 -05:00
parent a6a9969cba
commit b7addd315b

View File

@ -318,6 +318,8 @@ function RecordView({table, launchProcess}: Props): JSX.Element
setPageHeader(record.recordLabel);
if(!launchingProcess)
{
try
{
HistoryUtils.push({label: `${tableMetaData?.label}: ${record.recordLabel}`, path: location.pathname, iconName: table.iconName});
@ -326,6 +328,7 @@ function RecordView({table, launchProcess}: Props): JSX.Element
{
console.error("Error pushing history: " + e);
}
}
/////////////////////////////////////////////////
// define the sections, e.g., for the left-bar //