fix chained val

This commit is contained in:
Naiel
2025-09-11 12:22:14 +02:00
committed by GitHub
parent 5f573c49be
commit 2e070ea7fd

View File

@@ -147,12 +147,11 @@ PAGES.materiales = {
];
// Obtener todas las ubicaciones únicas y poblar el <select>, desencriptando si es necesario
gun.get(TABLE).get("materiales").once().map().once((data, key) => {
gun.get(TABLE).get("materiales").map().once((data, key) => {
try {
if (!data) return;
function addUbicacion(d) {
console.warn(d)
const ubicacion = d.Ubicacion || "-";
const select = document.getElementById(select_ubicacion);