resolvendo dependencias dos projetos

This commit is contained in:
JotaChina committed 2025-12-08 19:05:47 -03:00
1 parent db4b40bd9d
commit 1cfce4c35f
1 file changed
+2 -4
+2 -4
View File
@@ -773,8 +773,6 @@
</script>
<script>
import { sendAction } from "./assets/js/creations/socket.js";
document.addEventListener("DOMContentLoaded", () => {
const downloadBtn = document.getElementById("download-package-btn");
@@ -808,7 +806,6 @@
});
document.addEventListener("DOMContentLoaded", () => {
// --- LÓGICA DE UPLOAD DE SAMPLE AVULSO ---
const uploadSampleBtn = document.getElementById("upload-sample-btn");
const sampleInput = document.getElementById("sample-file-input");
@@ -859,7 +856,8 @@
if (response.ok) {
alert("Sucesso! " + result.message);
sendAction({ type: "REFRESH_SAMPLE_BROWSER" });
// Opcional: Recarregar a lista de samples lateral se você tiver uma função para isso
// reloadBrowser();
} else {
alert("Erro ao enviar: " + (result.error || "Desconhecido"));
}