fix: hide the copy button when db.statement is empty (#117)

This commit is contained in:
horochx 2022-07-11 14:53:03 +08:00 committed by GitHub
parent 024cd1195d
commit 04d109d0e3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -48,7 +48,7 @@ limitations under the License. -->
<span class="g-sm-8 wba"> <span class="g-sm-8 wba">
{{ i.value }} {{ i.value }}
<span <span
v-if="i.key === 'db.statement'" v-if="i.key === 'db.statement' && i.value"
class="grey link-hover cp ml-5" class="grey link-hover cp ml-5"
@click="copy(i.value)" @click="copy(i.value)"
> >