mnm-matin commited on
Commit
364b3e1
·
verified ·
1 Parent(s): 26a735f

Make geospatial readout interactions client-local

Browse files
.hyperview/extensions/geospatial-readout/panel.js CHANGED
@@ -508,13 +508,14 @@ export default function GeospatialComparisonPanel() {
508
 
509
  setLoadingKey(key);
510
  try {
511
- await commands.setActiveLayout(model.layoutKey);
512
  await commands.showSimilar({
513
  sampleId: item.queryId,
514
  layoutKey: model.layoutKey,
515
  k: 10,
516
  source: `geospatial-demo:${model.key}`,
517
  focus: "samples",
 
518
  });
519
  } catch (error) {
520
  const message = error instanceof Error ? error.message : String(error);
 
508
 
509
  setLoadingKey(key);
510
  try {
511
+ await commands.setActiveLayout(model.layoutKey, { persist: "none" });
512
  await commands.showSimilar({
513
  sampleId: item.queryId,
514
  layoutKey: model.layoutKey,
515
  k: 10,
516
  source: `geospatial-demo:${model.key}`,
517
  focus: "samples",
518
+ persist: "none",
519
  });
520
  } catch (error) {
521
  const message = error instanceof Error ? error.message : String(error);