LT-327: Added functionality to disassociate timepoints from studies
This commit is contained in:
1 parent
e957968494
commit
01d22aa3c5
9 files changed
+106
-63
No files matched your search
@@ -95,3 +95,19 @@ export const removeTimepoint = timepointData => {
|
||||
});
|
||||
});
|
||||
};
|
||||
|
||||
export const disassociateStudy = (timepointIds, studyInstanceUid) => {
|
||||
console.log('disassociateStudy');
|
||||
console.log(timepointIds);
|
||||
console.log(studyInstanceUid);
|
||||
|
||||
return new Promise((resolve, reject) => {
|
||||
Meteor.call('disassociateStudy', timepointIds, studyInstanceUid, (error, response) => {
|
||||
if (error) {
|
||||
reject(error);
|
||||
} else {
|
||||
resolve(response);
|
||||
}
|
||||
});
|
||||
});
|
||||
};
|
||||
Reference in new issue
Block a user