This commit is contained in:
Mutasem Aldmour 2024-11-12 17:43:36 +01:00
parent 938db40f96
commit 9a376b5381
No known key found for this signature in database
GPG key ID: 3DFA8122BB7FD6B8

View file

@ -1227,17 +1227,20 @@ function onSearchClear() {
document.dispatchEvent(new KeyboardEvent('keyup', { key: '/' })); document.dispatchEvent(new KeyboardEvent('keyup', { key: '/' }));
} }
function getExecutionLinkLabel(task: ITaskMetadata) { function getExecutionLinkLabel(task: ITaskMetadata): string | undefined {
if (task.parentExecution) { if (task.parentExecution) {
return i18n.baseText('runData.openParentExecution', { return i18n.baseText('runData.openParentExecution', {
interpolate: { id: task.parentExecution.executionId }, interpolate: { id: task.parentExecution.executionId },
}); });
} }
if (task.subExecution) { if (task.subExecution) {
return i18n.baseText('runData.openSubExecution', { return i18n.baseText('runData.openSubExecution', {
interpolate: { id: task.subExecution.executionId }, interpolate: { id: task.subExecution.executionId },
}); });
} }
return;
} }
defineExpose({ enterEditMode }); defineExpose({ enterEditMode });