Skip to content

Commit

Permalink
hot fix console.log
Browse files Browse the repository at this point in the history
  • Loading branch information
ibelar committed Jun 21, 2024
1 parent 9c37cb3 commit dd35d08
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "fohn-ui",
"version": "1.7.3",
"version": "1.7.4",
"description": "Javascript library for Fohn-Ui php framework.",
"main": "dist/fohn-ui.min.js",
"files": [
Expand Down
6 changes: 4 additions & 2 deletions src/components/table/table.component.vue
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,10 @@ export default {
storeId: String,
dataUrl: String,
tblItemsPerPage: Number,
tblItemsPerPages: Array,
tblItemsPerPages: {
type: Array,
default: () => [50, 100, 250, 500],
},
keepTableState: {
type: Boolean,
default: true,
Expand Down Expand Up @@ -82,7 +85,6 @@ export default {
}
if (!tblItemsPerPages.includes(tableStore.tableState.itemsPerPage)) {
console.log('t', tblItemsPerPages[0]);
tableStore.setItemsPerPage(tblItemsPerPages[0]);
tblItemsPerPage.value = tblItemsPerPages[0];
}
Expand Down

0 comments on commit dd35d08

Please sign in to comment.