fix/conceptos-detalles-corregir

This commit is contained in:
2026-06-02 10:00:34 -06:00
parent f56b2ca784
commit 7b95c6da86
2 changed files with 5 additions and 5 deletions

View File

@@ -138,7 +138,10 @@
</script> </script>
<Dialog.Root bind:open> <Dialog.Root bind:open>
<Dialog.Content class="max-w-2xl max-h-[90vh] overflow-y-auto"> <Dialog.Content
class="max-w-2xl max-h-[90vh] overflow-y-auto"
onInteractOutside={(e) => e.preventDefault()}
>
<Dialog.Header> <Dialog.Header>
<Dialog.Title>{title}</Dialog.Title> <Dialog.Title>{title}</Dialog.Title>
</Dialog.Header> </Dialog.Header>

View File

@@ -11,7 +11,7 @@
import * as Card from '$lib/components/ui/card'; import * as Card from '$lib/components/ui/card';
import { Button } from '$lib/components/ui/button'; import { Button } from '$lib/components/ui/button';
import { Input } from '$lib/components/ui/input'; import { Input } from '$lib/components/ui/input';
import { Pencil, Plus, Trash2, RefreshCw } from 'lucide-svelte'; import { Pencil, Plus, Trash2 } from 'lucide-svelte';
import { useShortcuts } from '$lib/hooks/use-shortcuts'; import { useShortcuts } from '$lib/hooks/use-shortcuts';
import { obtenerAtajosListaConceptos } from '$lib/config/shortcuts/dashboard/general_catalogs/concepts/list'; import { obtenerAtajosListaConceptos } from '$lib/config/shortcuts/dashboard/general_catalogs/concepts/list';
import { import {
@@ -173,9 +173,6 @@
<p class="text-muted-foreground">{m['common.sub_concepts']()}</p> <p class="text-muted-foreground">{m['common.sub_concepts']()}</p>
</div> </div>
<div class="flex items-center gap-3"> <div class="flex items-center gap-3">
<Button variant="outline" size="sm" class="h-9" onclick={reloadData}>
<RefreshCw class="mr-2 h-4 w-4" /> {m['common.btn_refresh']()}
</Button>
{#if !isError && canCreate} {#if !isError && canCreate}
<Button <Button
class="h-9" class="h-9"