Skip to content

Commit

Permalink
fix(designer): Fix issue that was causing designer to crashw hen clic…
Browse files Browse the repository at this point in the history
…king on settings (#4598)
  • Loading branch information
hartra344 committed Apr 11, 2024
1 parent 027574f commit 0df2bf6
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ export const useOperationUploadChunkMetadata = (operationInfo: NodeOperation): Q
});

if (!result.isLoading) {
if (useManifest && !result.result) {
if (useManifest && result?.result) {
return { result: result.result.options, isLoading: false };
}
}
Expand All @@ -184,7 +184,7 @@ export const useOperationDownloadChunkMetadata = (operationInfo: NodeOperation):
);

if (!result.isLoading) {
if (useManifest && !result.result) {
if (useManifest && result.result) {
return { result: result.result.options, isLoading: false };
}
}
Expand Down

0 comments on commit 0df2bf6

Please sign in to comment.