Update comments
This commit is contained in:
parent
62d43bc183
commit
1fd4b983e5
|
@ -35,9 +35,8 @@ export const deriveStores = context => {
|
||||||
export const initialise = context => {
|
export const initialise = context => {
|
||||||
const { metadata, conditions, rows } = context
|
const { metadata, conditions, rows } = context
|
||||||
|
|
||||||
// Recompute all cell metadata if cell conditions change
|
// Recompute all metadata if conditions change
|
||||||
conditions.subscribe($conditions => {
|
conditions.subscribe($conditions => {
|
||||||
// Build new metadata
|
|
||||||
let newMetadata = {}
|
let newMetadata = {}
|
||||||
if ($conditions?.length) {
|
if ($conditions?.length) {
|
||||||
for (let row of get(rows)) {
|
for (let row of get(rows)) {
|
||||||
|
|
Loading…
Reference in New Issue