0
0
Fork 0

Merge pull request 'Primeras correcciones' (#20) from features/ms_32_correcciones_post_pr_1 into dev

Reviewed-on: hyervoni/salix-front-mindshore#20
This commit is contained in:
Carlos Fonseca 2023-11-29 14:29:47 +00:00
commit 7dabc86e10
2 changed files with 7 additions and 10 deletions

View File

@ -15,8 +15,6 @@
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"cSpell.words": ["axios"],
"editor.tabSize": 2,
"files.autoSave": "onFocusChange",
"files.trimTrailingWhitespace": true,
"editor.hover.enabled": true,

View File

@ -1,5 +1,5 @@
<script setup>
import { onMounted, onUnmounted, ref } from 'vue';
import { onMounted, onUnmounted, ref, watch } from 'vue';
import { useI18n } from 'vue-i18n';
import { useRouter } from 'vue-router';
import { exportFile, useQuasar } from 'quasar';
@ -55,6 +55,12 @@ const addElement = (element) => {
}
};
watch(manageCheckboxes, (current, prev) => {
if (!current) {
arrayElements.value = [];
}
});
const downloadCsv = (rows) => {
const data = arrayElements.value.length ? arrayElements.value : rows;
let file;
@ -244,13 +250,6 @@ const downloadCsv = (rows) => {
.dark_icon {
color: #121212;
}
.disabled,
.disabled *,
[disabled],
[disabled] * {
cursor: default !important;
}
</style>
<i18n>