From 1fd4b983e567be71231b3bd1d629a2c724dff7c3 Mon Sep 17 00:00:00 2001 From: Andrew Kingston Date: Wed, 17 Jul 2024 10:39:56 +0100 Subject: [PATCH] Update comments --- .../frontend-core/src/components/grid/stores/conditions.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/frontend-core/src/components/grid/stores/conditions.js b/packages/frontend-core/src/components/grid/stores/conditions.js index c1493bea4e..e5d8d89824 100644 --- a/packages/frontend-core/src/components/grid/stores/conditions.js +++ b/packages/frontend-core/src/components/grid/stores/conditions.js @@ -35,9 +35,8 @@ export const deriveStores = context => { export const initialise = context => { const { metadata, conditions, rows } = context - // Recompute all cell metadata if cell conditions change + // Recompute all metadata if conditions change conditions.subscribe($conditions => { - // Build new metadata let newMetadata = {} if ($conditions?.length) { for (let row of get(rows)) {