Always show live submissions status
Remove the canUseLiveServer conditional when setting the run list status so the message 'Live submissions are updating automatically.' is always shown. This simplifies the UI feedback and avoids showing a server-specific prompt while leaving error handling and rendering logic unchanged.
This commit is contained in:
1 parent
feb50ad389
commit
11253b209e
1 file changed
+1
-1
@@ -862,7 +862,7 @@
|
||||
loadRuns().then(runs=>{
|
||||
const sortedRuns = runs.slice().sort((a,b)=>new Date(b.submittedAt) - new Date(a.submittedAt));
|
||||
renderRunSubmissions(sortedRuns);
|
||||
setRunListStatus(canUseLiveServer ? 'Live submissions are updating automatically.' : 'Run the Node server to enable live submissions.');
|
||||
setRunListStatus('Live submissions are updating automatically.');
|
||||
}).catch(err=>{
|
||||
console.error(err);
|
||||
renderRunSubmissions([]);
|
||||
|
||||
Reference in new issue
Block a user