Skip to content

Commit

Permalink
upload mango vue to 0.1.9 and adapt new changes
Browse files Browse the repository at this point in the history
  • Loading branch information
HelenaCA committed Oct 1, 2024
1 parent 30a6841 commit 4084036
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 6 deletions.
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,29 +15,29 @@
"ajv": "^8.12.0",
"exceljs": "^4.4.0",
"jsonschema": "^1.4.1",
"mango-vue": "^0.1.7",
"mango-vue": "^0.1.9",
"pinia": "^2.1.7",
"prettier": "^3.2.5",
"read-excel-file": "^5.7.1",
"rollup": ">=4.22.4",
"vite-plugin-vuetify": "^2.0.2",
"vue": "^3.3.11",
"vue-i18n": "^9.9.0",
"vue-router": "^4.3.0",
"vuetify": "^3.5.17",
"webfontloader": "^1.6.28",
"rollup": ">=4.22.4"
"webfontloader": "^1.6.28"
},
"devDependencies": {
"@types/node": "^20.11.24",
"@vitejs/plugin-vue": "^5.0.5",
"@vitest/coverage-v8": "^2.0.5",
"@vue/test-utils": "^2.4.0-alpha.2",
"jsdom": "^24.1.0",
"vitest": "^2.0.5",
"@types/node": "^20.11.24",
"rollup": "^4.22.4",
"sass": "^1.71.1",
"typescript": "^5.2.2",
"vite": "^5.0.8",
"vitest": "^2.0.5",
"vue-tsc": "^2.1.6"
}
}
13 changes: 13 additions & 0 deletions src/components/input-data/InputOutputDataTable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -158,8 +158,10 @@
:headers="headers"
:options="{ density: 'compact' }"
:editionMode="editionMode"
:resetCurrentPage="resetPage"
@create-item="createItem"
@deleteItem="deleteItem"
@update:resetCurrentPage="handleResetPage"
/>
</v-row>
<v-row class="mt-5 mb-2 justify-center" v-if="canCheckData">
Expand Down Expand Up @@ -280,6 +282,7 @@ export default {
searchText: '',
filtersSelected: {},
filters: {},
resetPage: false,
}
},
created() {
Expand All @@ -290,6 +293,13 @@ export default {
}
},
watch: {
selectedTable: {
handler(newVal, oldVal) {
if (newVal !== oldVal) {
this.resetPage = true
}
},
},
showDataChecksTable: {
handler() {
if (!this.showDataChecksTable) {
Expand Down Expand Up @@ -499,6 +509,9 @@ export default {
handleDataChecksTabSelected(newTab) {
this.checkSelectedTable = newTab
},
handleResetPage() {
this.resetPage = false
},
openSaveModal() {
this.openConfirmationSaveModal = true
},
Expand Down
3 changes: 2 additions & 1 deletion src/views/HistoryExecutionView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,10 @@
</div>
</template>
<template v-slot:table="slotProps">
<!-- TODO: Change show footers to false when updating to new mango version tht fixes this-->
<ProjectExecutionsTable
:executionsByDate="slotProps.itemData"
:showFooter="false"
:showFooter="true"
:showHeaders="slotProps.showHeaders"
:formatDateByTime="true"
@loadExecution="loadExecution"
Expand Down

0 comments on commit 4084036

Please sign in to comment.