diff --git a/web/grid_image_pool.js b/web/grid_image_pool.js index 25e55cc..030dbcd 100644 --- a/web/grid_image_pool.js +++ b/web/grid_image_pool.js @@ -593,6 +593,10 @@ function setupGridNode(node) { if (node._countEl) node._countEl.textContent = `${n} image${n === 1 ? "" : "s"}`; }; + // public hook for the Pool Profile companion: after it sets our pool_id widget + // to the selected profile id, it calls this to repaint the grid from that dir. + node._datasetePoolRefresh = () => node._gridRefresh(); + // initial width (a sensible wide default) + content-driven height; the node // stays freely resizable (no width floor) and the grid flex-wraps to fit. node._lastCount = 0;