forked from verdnatura/salix-front
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:
commit
7dabc86e10
|
@ -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,
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue