Prechádzať zdrojové kódy

add the button reurn

gdias 4 mesiacov pred
rodič
commit
491170c348
1 zmenil súbory, kde vykonal 1 pridanie a 0 odobranie
  1. 1 0
      src/lib/component/Report.svelte

+ 1 - 0
src/lib/component/Report.svelte

@@ -384,6 +384,7 @@
 		<div class="ml-2 mr-2 mt-2 flex justify-between">
 			<button
 				on:click={returnTable}
+				disabled={defaultPage == 0}
 				class="flex w-full items-center justify-center rounded-lg bg-[#D4AF37] px-4 py-2 text-[#1C1C1E] transition-colors hover:bg-[#3C3C3E] disabled:cursor-not-allowed sm:w-auto"
 				>Anterior</button
 			>