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 13, 2024
1 parent 2c60436 commit ab03a6f
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 ab03a6f

Please sign in to comment.