fix: hide table size tooltip if disabled

This commit is contained in:
Fabio Di Stasio 2023-03-02 09:06:28 +01:00
parent 23d8467154
commit 2c46269cf2
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@
<span v-html="highlightWord(table.name)" /> <span v-html="highlightWord(table.name)" />
</a> </a>
<div <div
v-if="table.type === 'table' && table.size !== false" v-if="table.type === 'table' && table.size !== false && !isNaN(table.size)"
class="table-size tooltip tooltip-left mr-1" class="table-size tooltip tooltip-left mr-1"
:data-tooltip="formatBytes(table.size)" :data-tooltip="formatBytes(table.size)"
> >