Skip to content

Commit

Permalink
Hold off on clearing table until necessary
Browse files Browse the repository at this point in the history
  • Loading branch information
parlough committed Jan 9, 2024
1 parent 8ea41f5 commit d66a626
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/assets/js/get-dart/download_archive.dart.js
Original file line number Diff line number Diff line change
Expand Up @@ -7636,8 +7636,7 @@ var $async$aU=A.l(function(a,b){if(a===1)return A.f(b,r)
while(true)switch(s){case 0:m=p.d.selectedOptions.item(0)
l=m==null?null:m.getAttribute("value")
if(l==null){s=1
break}p.Ur()
o=A.Oi(l)
break}o=A.Oi(l)
m=o==null?l:o
s=3
return A.j(p.b.Ec(p.a,m),$async$aU)
Expand All @@ -7651,7 +7650,8 @@ case 4:if($.UF() instanceof A.kH){$.yj=A.oX()
$.OY=$.pg=null}if($.S9() instanceof A.kH)$.rf=A.Iz()
s=5
return A.j(A.iv(null,t.H),$async$aU)
case 5:p.PS(n)
case 5:p.Ur()
p.PS(n)
if(!p.f){m=$.iJ()
if(m===B.Hn)p.e.options.selectedIndex=1
else if(m===B.Wx||m===B.pi)p.e.options.selectedIndex=2
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,12 +66,12 @@ class VersionSelector {
final selectedVersion =
_versionSelector.selectedOptions.item(0)?.getAttribute('value');
if (selectedVersion == null) return;
clearTable();
final svnRevision = svnRevisionForVersion(selectedVersion);
final versionInfo =
await _client.fetchVersion(channel, svnRevision ?? selectedVersion);
await findSystemLocale();
await initializeDateFormatting(Intl.systemLocale);
clearTable();
updateTable(versionInfo);
if (!_hasPopulatedTable) {
_selectOsDropdown();
Expand Down

0 comments on commit d66a626

Please sign in to comment.