diff options
| author | JP Dillingham <jp@dillingham.me> | 2022-11-25 17:29:02 -0600 |
|---|---|---|
| committer | JP Dillingham <jp@dillingham.me> | 2022-11-25 17:29:02 -0600 |
| commit | e34571b4c8579ea3fdb4d68ee6926868f456515f (patch) | |
| tree | 43173248f6c5a432981e0c3bf880e9fae43abf52 /src | |
| parent | 2c5f1095ea179cc302bfaa5d3a0d6ba18ca501c7 (diff) | |
| download | slskd-e34571b4c8579ea3fdb4d68ee6926868f456515f.tar.gz | |
show '?' when counts are null
Diffstat (limited to 'src')
| -rw-r--r-- | src/web/src/components/System/Shares/ShareTable.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/web/src/components/System/Shares/ShareTable.js b/src/web/src/components/System/Shares/ShareTable.js index 095a8380..fd2c7623 100644 --- a/src/web/src/components/System/Shares/ShareTable.js +++ b/src/web/src/components/System/Shares/ShareTable.js @@ -35,8 +35,8 @@ const ShareTable = ({ shares, onClick }) => { <Icon name='folder'/> <Link to='#'>{share.localPath}</Link> </Table.Cell> - <Table.Cell>{share.directories}</Table.Cell> - <Table.Cell>{share.files}</Table.Cell> + <Table.Cell>{share.directories ?? '?'}</Table.Cell> + <Table.Cell>{share.files ?? '?'}</Table.Cell> <Table.Cell>{share.alias}</Table.Cell> <Table.Cell>{share.remotePath}</Table.Cell> </Table.Row>))} |
