1
1
mirror of https://github.com/Fabio286/antares.git synced 2025-02-18 12:40:41 +01:00

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

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)"
> >