Primeras correcciones
This commit is contained in:
parent
b2edb89118
commit
9b0d30a776
|
@ -15,8 +15,6 @@
|
||||||
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
||||||
},
|
},
|
||||||
"cSpell.words": ["axios"],
|
"cSpell.words": ["axios"],
|
||||||
|
|
||||||
"editor.tabSize": 2,
|
|
||||||
"files.autoSave": "onFocusChange",
|
"files.autoSave": "onFocusChange",
|
||||||
"files.trimTrailingWhitespace": true,
|
"files.trimTrailingWhitespace": true,
|
||||||
"editor.hover.enabled": true,
|
"editor.hover.enabled": true,
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<script setup>
|
<script setup>
|
||||||
import { onMounted, onUnmounted, ref } from 'vue';
|
import { onMounted, onUnmounted, ref, watch } from 'vue';
|
||||||
import { useI18n } from 'vue-i18n';
|
import { useI18n } from 'vue-i18n';
|
||||||
import { useRouter } from 'vue-router';
|
import { useRouter } from 'vue-router';
|
||||||
import { exportFile, useQuasar } from 'quasar';
|
import { exportFile, useQuasar } from 'quasar';
|
||||||
|
@ -55,6 +55,12 @@ const addElement = (element) => {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
watch(manageCheckboxes, (current, prev) => {
|
||||||
|
if (!current) {
|
||||||
|
arrayElements.value = [];
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
const downloadCsv = (rows) => {
|
const downloadCsv = (rows) => {
|
||||||
const data = arrayElements.value.length ? arrayElements.value : rows;
|
const data = arrayElements.value.length ? arrayElements.value : rows;
|
||||||
let file;
|
let file;
|
||||||
|
@ -244,13 +250,6 @@ const downloadCsv = (rows) => {
|
||||||
.dark_icon {
|
.dark_icon {
|
||||||
color: #121212;
|
color: #121212;
|
||||||
}
|
}
|
||||||
|
|
||||||
.disabled,
|
|
||||||
.disabled *,
|
|
||||||
[disabled],
|
|
||||||
[disabled] * {
|
|
||||||
cursor: default !important;
|
|
||||||
}
|
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<i18n>
|
<i18n>
|
||||||
|
|
Loading…
Reference in New Issue