mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
move collab stats before version
This commit is contained in:
parent
949e9ae03a
commit
4d0ebf5ac5
1 changed files with 15 additions and 15 deletions
|
@ -171,6 +171,21 @@ export const Stats = (props: {
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
)}
|
)}
|
||||||
|
{props.isCollaborating ? (
|
||||||
|
<>
|
||||||
|
<tr>
|
||||||
|
<th colSpan={2}>{t("stats.collaboration")}</th>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>{t("stats.collaborators")}</td>
|
||||||
|
<td>{props.appState.collaborators.size}</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>{t("stats.networkSpeed")}</td>
|
||||||
|
<td>{props.appState.networkSpeed}</td>
|
||||||
|
</tr>
|
||||||
|
</>
|
||||||
|
) : null}
|
||||||
<tr>
|
<tr>
|
||||||
<th colSpan={2}>{t("stats.version")}</th>
|
<th colSpan={2}>{t("stats.version")}</th>
|
||||||
</tr>
|
</tr>
|
||||||
|
@ -193,21 +208,6 @@ export const Stats = (props: {
|
||||||
{hash}
|
{hash}
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
{props.isCollaborating ? (
|
|
||||||
<>
|
|
||||||
<tr>
|
|
||||||
<th colSpan={2}>{t("stats.collaboration")}</th>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>{t("stats.collaborators")}</td>
|
|
||||||
<td>{props.appState.collaborators.size}</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
|
||||||
<td>{t("stats.networkSpeed")}</td>
|
|
||||||
<td>{props.appState.networkSpeed}</td>
|
|
||||||
</tr>
|
|
||||||
</>
|
|
||||||
) : null}
|
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</Island>
|
</Island>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue