abhijitramesh commited on
Commit
1c57e68
verified
1 Parent(s): 5993e41

fix: wire hub-section visibility

Browse files
Files changed (1) hide show
  1. bench-app.js +2 -1
bench-app.js CHANGED
@@ -136,7 +136,8 @@ function renderHeader() {
136
  `Model budget: ~${budgetGB} GB 路 ${pieces.join(' 路 ') || 'using default'} 路 source: ${b.source}`;
137
 
138
  $('output-actions-local').hidden = state.mode !== 'local';
139
- $('output-actions-hosted').hidden = state.mode !== 'hosted';
 
140
  const purgeBtn = $('btn-purge');
141
  if (purgeBtn) purgeBtn.hidden = state.mode !== 'hosted';
142
  renderHfSection();
 
136
  `Model budget: ~${budgetGB} GB 路 ${pieces.join(' 路 ') || 'using default'} 路 source: ${b.source}`;
137
 
138
  $('output-actions-local').hidden = state.mode !== 'local';
139
+ const hubSection = $('hub-section');
140
+ if (hubSection) hubSection.hidden = state.mode !== 'hosted';
141
  const purgeBtn = $('btn-purge');
142
  if (purgeBtn) purgeBtn.hidden = state.mode !== 'hosted';
143
  renderHfSection();