Skip to content

Commit

Permalink
Always show live user count on info page.
Browse files Browse the repository at this point in the history
  • Loading branch information
agrawal-d committed Feb 18, 2025
1 parent b0cd295 commit 6b7408a
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions src/webview/frontend/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -558,14 +558,10 @@ function Judge(props: {
<h3>License</h3>
<pre className="selectable">{generatedJson.licenseString}</pre>
<hr />
{window.showLiveUserCount && (
<>
<h3>Live user count</h3>
{liveUserCount} {liveUserCount === 1 ? 'user' : 'users'}{' '}
online.
<hr />
</>
)}
<h3>Live user count</h3>
{liveUserCount} {liveUserCount === 1 ? 'user' : 'users'}{' '}

Check failure on line 562 in src/webview/frontend/App.tsx

View workflow job for this annotation

GitHub Actions / build (20.x)

Delete `{'·'}⏎···············`
online.
<hr />
<h3>UI Logs</h3>
<pre className="selectable">{logs}</pre>
<hr />
Expand Down

0 comments on commit 6b7408a

Please sign in to comment.