Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

Commit 49499ed

Browse files
committed
webui: No need to show db size in download drop down button
The database size is already displayed a few cm's right above it Fixes #197
1 parent 29ea7da commit 49499ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

webui/jsx/database-view.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ export function DatabaseActions({table, numSelectedRows, allowInsert, setTable,
164164
Download database <span className="caret"></span>
165165
</button>
166166
<ul className="dropdown-menu">
167-
<li><a href={"/x/download/" + meta.owner + "/" + meta.database + "?commit=" + meta.commitID} data-cy="dldb">Entire database ({Math.round(meta.size / 1024).toLocaleString()} KB)</a></li>
167+
<li><a href={"/x/download/" + meta.owner + "/" + meta.database + "?commit=" + meta.commitID} data-cy="dldb">Entire database</a></li>
168168
{meta.size <= 100000000 && meta.isLive === false ? <li><a href={"/x/downloadcsv/" + meta.owner + "/" + meta.database + "?commit=" + meta.commitID + "&table=" + table} data-cy="dlcsv">Selected table as CSV</a></li> : null}
169169
</ul>
170170
</div>

0 commit comments

Comments
 (0)