refactor: minor changes in table content context

This commit is contained in:
Fabio Di Stasio 2022-09-29 09:17:47 +02:00
parent fe39c1d388
commit e6955550fa
2 changed files with 12 additions and 1 deletions

View File

@ -42,6 +42,16 @@
<i class="mdi mdi-18px mdi-content-duplicate text-light pr-1" /> {{ t('word.duplicate') }}
</span>
</div>
<div
v-if="selectedRows.length === 1 && selectedCell.isEditable && mode === 'table'"
class="context-element"
@click="duplicateRow"
>
<span class="d-flex">
<i class="mdi mdi-18px mdi-auto-fix text-light pr-1" /> {{ t('message.fillCell') }}
</span>
<i class="mdi mdi-18px mdi-chevron-right text-light pl-1" />
</div>
<div
v-if="selectedRows.length === 1 && selectedCell.isEditable"
class="context-element"

View File

@ -322,7 +322,8 @@ export const enUS = {
clearQuery: 'Clear query',
openFilter: 'Open filter',
nextResultsPage: 'Next results page',
previousResultsPage: 'Previous results page'
previousResultsPage: 'Previous results page',
fillCell: 'Fill cell'
},
faker: {
address: 'Address',