Skip to content

Commit

Permalink
Merge branch 'master' into fix/inverted-fusion-viewports-tmtv
Browse files Browse the repository at this point in the history
  • Loading branch information
IbrahimCSAE authored Oct 17, 2024
2 parents a973380 + 2ec4692 commit 896cde2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion extensions/cornerstone-dicom-seg/src/commandsModule.ts
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ const commandsModule = ({
extensionManager,
});

if (promptResult.action !== 1 && promptResult.value) {
if (promptResult.action !== 1 && !promptResult.value) {
return;
}

Expand Down
2 changes: 2 additions & 0 deletions extensions/default/src/Actions/createReportAsync.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ async function createReportAsync({
try {
const naturalizedReport = await getReport();

if (!naturalizedReport) return;

// The "Mode" route listens for DicomMetadataStore changes
// When a new instance is added, it listens and
// automatically calls makeDisplaySets
Expand Down

0 comments on commit 896cde2

Please sign in to comment.