diff --git a/web/src/app.js b/web/src/app.js index d5088f3e..d919f9b2 100644 --- a/web/src/app.js +++ b/web/src/app.js @@ -2386,6 +2386,10 @@ const { renderAttentionSheet, onRunAlertFrame, } = views.attention; +// The Runs view is created before this destructuring; its toolbar calls this +// through the runtime object at render time, so attach it once the function is +// available. +runtime.renderAttentionBell = renderAttentionBell; const { renderSettingsView, refreshServerUrlError } = views.settings; const { renderPipelineList, renderPipelineDetail } = views.pipelines; const { renderTemplateGallery, renderTemplateDetail, loadTemplates, selectTemplate, resetTemplateCreateState, resetTemplateSelection } =