Skip to content

Commit 1208005

Browse files
review uuid doesn't have 'false' value any more
1 parent 952e6ce commit 1208005

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/main/webapp/app/pages/curation/collapsible/Collapsible.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ export default function Collapsible({
2525
}: CollapsibleProps) {
2626
const defaultColorOptions: CollapsibleColorProps | undefined = colorOptions
2727
? {
28-
hideLeftBorder: colorOptions?.hideLeftBorder ? colorOptions.hideLeftBorder : false,
2928
...colorOptions,
29+
hideLeftBorder: colorOptions.hideLeftBorder ?? false,
3030
}
3131
: {
3232
hideLeftBorder: false,

src/main/webapp/app/service/firebase/firebase-gene-review-service.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,9 @@ export class FirebaseGeneReviewService {
9898
const { hugoSymbol } = parseFirebaseGenePath(firebasePath) ?? {};
9999

100100
let updateObject = this.getGeneUpdateObject(updateValue, updatedReview!, firebasePath, uuid!);
101-
const metaUpdateObject = this.firebaseMetaService.getUpdateObject(hugoSymbol!, isGermline, { [uuid!]: !isChangeReverted });
101+
const metaUpdateObject = this.firebaseMetaService.getUpdateObject(hugoSymbol!, isGermline, {
102+
[uuid!]: !isChangeReverted ? true : null,
103+
});
102104
updateObject = { ...updateObject, ...metaUpdateObject };
103105

104106
if (!shouldSave) {

0 commit comments

Comments
 (0)