typescript fixes
This commit is contained in:
@@ -314,8 +314,8 @@ function onManualDateChange() {
|
||||
console.log('Manual date change, preset set to custom')
|
||||
}
|
||||
|
||||
async function onToggleAnulados(newValue: boolean) {
|
||||
if (newValue) {
|
||||
async function onToggleAnulados(newValue: boolean | 'indeterminate') {
|
||||
if (newValue === true) {
|
||||
// Pedir confirmación al activar
|
||||
const confirmed = confirm(
|
||||
'⚠️ ADVERTENCIA\n\n' +
|
||||
@@ -464,7 +464,7 @@ onMounted(async () => {
|
||||
try {
|
||||
// Cargar metadatos primero
|
||||
if (metadataStore.metadata.length === 0) {
|
||||
await metadataStore.fetchMetadata()
|
||||
await (metadataStore as any).loadMetadata()
|
||||
}
|
||||
|
||||
// Cache primero para UX
|
||||
|
||||
Reference in New Issue
Block a user