From 491c7960d402b5be4a66c0dac88ecbe0073440e1 Mon Sep 17 00:00:00 2001 From: Francisco Hernandez Vivanco Date: Tue, 10 Feb 2026 14:52:12 +1100 Subject: [PATCH 01/10] queue is set only by the user --- ui/src/actions/sampleGrid.js | 3 --- ui/src/containers/SampleListViewContainer.jsx | 4 ---- 2 files changed, 7 deletions(-) diff --git a/ui/src/actions/sampleGrid.js b/ui/src/actions/sampleGrid.js index 31648e2cf..279039e36 100644 --- a/ui/src/actions/sampleGrid.js +++ b/ui/src/actions/sampleGrid.js @@ -1,5 +1,4 @@ import { showErrorPanel } from './general'; -import { setQueue } from './queue'; // eslint-disable-line import/no-cycle import { fetchSamplesList, sendSyncWithCrims } from '../api/sampleChanger'; import { fetchLimsSamples } from '../api/lims'; import { hideWaitDialog, showWaitDialog } from './waitDialog'; @@ -71,7 +70,6 @@ export function getSamplesList() { const json = await fetchSamplesList(); const { sampleList, sampleOrder } = json; dispatch(updateSampleList(sampleList, sampleOrder)); - dispatch(setQueue(json)); } catch { dispatch(showErrorPanel(true, 'Could not get samples list')); } @@ -87,7 +85,6 @@ export function syncSamples(lims) { try { const json = await fetchLimsSamples(lims); dispatch(updateSampleList(json.sampleList, json.sampleOrder)); - dispatch(setQueue(json)); } catch (error) { dispatch( showErrorPanel( diff --git a/ui/src/containers/SampleListViewContainer.jsx b/ui/src/containers/SampleListViewContainer.jsx index 19d210146..745d26dfb 100644 --- a/ui/src/containers/SampleListViewContainer.jsx +++ b/ui/src/containers/SampleListViewContainer.jsx @@ -630,10 +630,6 @@ class SampleListViewContainer extends React.Component { tooltipContent={`Synchronise sample list with ${this.props.loginData.limsName[0].name}`} >