Remove logs
This commit is contained in:
parent
f1f6cc0cb1
commit
b9ad087691
|
@ -91,8 +91,6 @@ export const initialise = context => {
|
||||||
|
|
||||||
// Recompute all metadata if conditions change
|
// Recompute all metadata if conditions change
|
||||||
conditions.subscribe($conditions => {
|
conditions.subscribe($conditions => {
|
||||||
console.log($conditions)
|
|
||||||
console.log("recomputing all conditions")
|
|
||||||
let metadata = {}
|
let metadata = {}
|
||||||
if ($conditions.length) {
|
if ($conditions.length) {
|
||||||
for (let row of get(rows)) {
|
for (let row of get(rows)) {
|
||||||
|
@ -112,7 +110,6 @@ export const initialise = context => {
|
||||||
let updates = {}
|
let updates = {}
|
||||||
for (let row of $rows) {
|
for (let row of $rows) {
|
||||||
if (!row._rev || metadata[row._id]?.version !== row._rev) {
|
if (!row._rev || metadata[row._id]?.version !== row._rev) {
|
||||||
console.log("recompute row", row._id)
|
|
||||||
updates[row._id] = evaluateConditions(row, $conditions)
|
updates[row._id] = evaluateConditions(row, $conditions)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue