fix(editor): Table view column limit tooltip (#4655)

* fix(editor): Table view column limit tooltip

* fix(editor): lint fix

* fix(editor): fix max column limit

* fix(editor): code formatting
This commit is contained in:
Csaba Tuncsik
2022-11-21 13:00:21 +01:00
committed by GitHub
parent 6b52e4b111
commit 3ac9ba3491
3 changed files with 18 additions and 16 deletions

View File

@@ -73,7 +73,10 @@
<template #content>
<div>
<i18n path="dataMapping.tableView.tableColumnsExceeded.tooltip">
<a @click="switchToJsonView">{{ $locale.baseText('dataMapping.tableView.tableColumnsExceeded.tooltip.link') }}</a>
<template #columnLimit>{{ columnLimit }}</template>
<template #link>
<a @click="switchToJsonView">{{ $locale.baseText('dataMapping.tableView.tableColumnsExceeded.tooltip.link') }}</a>
</template>
</i18n>
</div>
</template>
@@ -212,6 +215,7 @@ export default mixins(externalHooks).extend({
hoveringPath: null as null | string,
mappingHintVisible: false,
activeRow: null as number | null,
columnLimit: MAX_COLUMNS_LIMIT,
columnLimitExceeded: false,
};
},