Skip to content

Commit

Permalink
enh: rename property
Browse files Browse the repository at this point in the history
Signed-off-by: Cleopatra Enjeck M <patrathewhiz@gmail.com>
  • Loading branch information
enjeck committed Feb 12, 2024
1 parent f78fbcc commit 03e05b7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/modules/main/partials/TableView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ export default {
emit('tables:column:delete', { column, isView: this.isView, elementId: this.element.id })
},
createRow() {
emit('tables:row:create', { column: this.columns, isView: this.isView, elementId: this.element.id })
emit('tables:row:create', { columns: this.columns, isView: this.isView, elementId: this.element.id })
},
editRow(rowId) {
emit('tables:row:edit', { row: this.rows.find(r => r.id === rowId), columns: this.columns, isView: this.isView, element: this.element })
Expand Down
2 changes: 1 addition & 1 deletion src/modules/modals/Modals.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<EditColumn v-if="columnToEdit" :column="columnToEdit?.column" :is-view="columnToEdit.isView" :element-id="columnToEdit?.elementId" @close="columnToEdit = false" />
<DeleteColumn v-if="columnToDelete" :is-view="columnToDelete?.isView" :element-id="columnToDelete?.elementId" :column-to-delete="columnToDelete?.column" @cancel="columnToDelete = null" />
<CreateRow :columns="columnsForRow?.column"
<CreateRow :columns="columnsForRow?.columns"
:is-view="columnsForRow?.isView"
:element-id="columnsForRow?.elementId"
:show-modal="columnsForRow !== null"
Expand Down

0 comments on commit 03e05b7

Please sign in to comment.