update dataman.js
This commit is contained in:
@@ -186,7 +186,7 @@ PAGES.dataman = {
|
||||
<div id="${div_materiales}"></div>
|
||||
<br><br>`;
|
||||
div_materiales = document.getElementById(div_materiales)
|
||||
gun.get(TABLE).get("materiales").once().map().once((data, key) => {
|
||||
gun.get(TABLE).get("materiales").on().map().once((data, key) => {
|
||||
function add_row(data, key) {
|
||||
if (data != null) {
|
||||
div_materiales.innerHTML += BuildQR("materiales," + key, data["Nombre"] || key)
|
||||
|
||||
Reference in New Issue
Block a user