mirror of
https://github.com/n8n-io/n8n.git
synced 2025-02-02 07:01:30 -08:00
fix(editor): Table view empty data hint
This commit is contained in:
parent
886ecc7afa
commit
d42dabf2c5
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue