fix: String(c).toLowerCase() (v1.0.65)
This commit is contained in:
@@ -61,7 +61,7 @@
|
|||||||
<body>
|
<body>
|
||||||
<div class="topbar">
|
<div class="topbar">
|
||||||
<img src="/nubes-logo.svg" alt="Nubes">
|
<img src="/nubes-logo.svg" alt="Nubes">
|
||||||
<span class="title">Сверка договоров — LLM <span style="font-weight:400;color:var(--muted);font-size:12px;">v1.0.64 — Lucee</span></span>
|
<span class="title">Сверка договоров — LLM <span style="font-weight:400;color:var(--muted);font-size:12px;">v1.0.65 — Lucee</span></span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="content">
|
<div class="content">
|
||||||
@@ -332,7 +332,7 @@ async function refreshSupps() {
|
|||||||
if (data.OK && data.ROWS) {
|
if (data.OK && data.ROWS) {
|
||||||
data.ROWS.forEach(function(r) {
|
data.ROWS.forEach(function(r) {
|
||||||
var supp = {};
|
var supp = {};
|
||||||
data.COLUMNS.forEach(function(c, ci) { supp[c.toLowerCase()] = r[c]; });
|
data.COLUMNS.forEach(function(c, ci) { supp[String(c).toLowerCase()] = r[c]; });
|
||||||
console.log('refreshSupps: supp=', supp);
|
console.log('refreshSupps: supp=', supp);
|
||||||
for (var i = 0; i < fileQueue.length; i++) {
|
for (var i = 0; i < fileQueue.length; i++) {
|
||||||
if (fileQueue[i].doc_id === supp.document_id) {
|
if (fileQueue[i].doc_id === supp.document_id) {
|
||||||
|
|||||||
Reference in New Issue
Block a user