diff --git a/src/modules/modals/EditRow.vue b/src/modules/modals/EditRow.vue index c8e25633d..527d1a9e8 100644 --- a/src/modules/modals/EditRow.vue +++ b/src/modules/modals/EditRow.vue @@ -178,7 +178,6 @@ export default { }, reset() { this.localRow = {} - this.dataLoaded = false this.prepareDeleteRow = false }, actionDeleteRow() { diff --git a/src/shared/components/ncTable/partials/TableRow.vue b/src/shared/components/ncTable/partials/TableRow.vue index 933caec66..cd020fe31 100644 --- a/src/shared/components/ncTable/partials/TableRow.vue +++ b/src/shared/components/ncTable/partials/TableRow.vue @@ -13,19 +13,44 @@ :row-id="row.id" :value="getCellValue(col)" /> - - - - + +
+ + + + + + + {{ t('tables', 'Duplicate row') }} + + + + {{ t('tables', 'Delete row') }} + + +
@@ -185,4 +258,11 @@ tr.selected { margin: 0; } +.row-actions-container { + display: flex; + align-items: center; + justify-content: center; + gap: var(--default-grid-baseline); +} + diff --git a/src/shared/components/ncTable/sections/CustomTable.vue b/src/shared/components/ncTable/sections/CustomTable.vue index 598431b65..af5758c7e 100644 --- a/src/shared/components/ncTable/sections/CustomTable.vue +++ b/src/shared/components/ncTable/sections/CustomTable.vue @@ -25,6 +25,8 @@ th.sticky:last-child,tr>td.sticky:last-child { position: sticky; right: 0; - width: 55px; + width: calc(var(--button-size) * 2); background-color: inherit; padding-right: 16px; }