diff --git a/dashboard/src2/components/devtools/database/DatabaseTableSchemaDialog.vue b/dashboard/src2/components/devtools/database/DatabaseTableSchemaDialog.vue index c60a9e6a05..5bd9143cd6 100644 --- a/dashboard/src2/components/devtools/database/DatabaseTableSchemaDialog.vue +++ b/dashboard/src2/components/devtools/database/DatabaseTableSchemaDialog.vue @@ -98,9 +98,10 @@ export default { computed: { autocompleteOptions() { return Object.keys(this.tableSchemas).map(x => ({ - label: `${x} (${this.bytesToMB( - this.tableSchemas[x].size.total_size - )}MB)`, + label: + this.tableSchemas[x].size.total_size > 0.01 + ? `${x} (${this.bytesToMB(this.tableSchemas[x].size.total_size)}MB)` + : x, value: x })); },