Skip to content

Commit

Permalink
fix(client): accessing assembly ID for merging tracks
Browse files Browse the repository at this point in the history
  • Loading branch information
davidlougheed committed Jan 16, 2024
1 parent d9407ad commit 61ee75c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/actions.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export const doSearch = () => (dispatch, getState) => {
};

export const mergeTracks = (peak) => (dispatch, getState) => {
const assemblyID = getState().datasets.datasetsByNode[getState().ui.node]?.assemblyID;
const assemblyID = getState().datasets.datasetsByNode[getState().ui.node]?.assembly;

if (!assemblyID) {
console.error(`Could not retrieve assembly ID - got ${assemblyID}`);
Expand Down

0 comments on commit 61ee75c

Please sign in to comment.