1
1
mirror of https://github.com/n8n-io/n8n.git synced 2024-10-06 09:37:36 +03:00

fix(editor): Table view empty data hint

This commit is contained in:
Csaba Tuncsik 2022-12-13 12:03:15 +01:00
parent 886ecc7afa
commit d42dabf2c5

View File

@ -1,22 +1,6 @@
<template>
<div :class="$style.dataDisplay">
<table :class="$style.table" v-if="tableData.columns && tableData.columns.length === 0">
<tr>
<th :class="$style.emptyCell"></th>
<th :class="$style.tableRightMargin"></th>
</tr>
<tr v-for="(row, index1) in tableData.data" :key="index1" :class="{[$style.hoveringRow]: isHoveringRow(index1)}">
<td
:data-row="index1"
:data-col="0"
@mouseenter="onMouseEnterCell"
@mouseleave="onMouseLeaveCell"
>
<n8n-info-tip>{{ $locale.baseText('runData.emptyItemHint') }}</n8n-info-tip>
</td>
<td :class="$style.tableRightMargin"></td>
</tr>
</table>
<n8n-info-tip v-if="tableData.columns && tableData.columns.length === 0">{{ $locale.baseText('runData.emptyItemHint') }}</n8n-info-tip>
<table :class="$style.table" v-else>
<thead>
<tr>