Skip to content

Commit

Permalink
more bug fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
jay-hodgson committed Dec 7, 2023
1 parent d922b94 commit eaa62d8
Show file tree
Hide file tree
Showing 9 changed files with 23 additions and 25 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,10 @@ public static EntityHeaderTableProps create(
for (ReferenceJsObject refJsObject : referenceListJsObject) {
Reference ref = new Reference();
ref.setTargetId(refJsObject.targetId);
ref.setTargetVersionNumber(refJsObject.targetVersionNumber);
referenceList.add(ref);
}
newList.setReferences(referenceList);
onUpdate.invoke(newList);
};

return props;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ public EntitySubjectsWidget(
this.view = view;
this.isACTMemberAsyncHandler = isACTMemberAsyncHandler;
view.setVisible(false);
view.setPresenter(this);
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,6 @@ public void onPrimary() {
accessRequirement.setAccessType(currentAccessType);
accessRequirement.setSubjectIds(subjects);
accessRequirement.setName(view.getName());

modalPresenter.setLoading(true);
synapseClient.createOrUpdateAccessRequirement(
accessRequirement,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
import org.gwtbootstrap3.client.ui.FormGroup;
import org.gwtbootstrap3.client.ui.InputGroup;
import org.gwtbootstrap3.client.ui.Radio;
import org.gwtbootstrap3.client.ui.TextArea;
import org.gwtbootstrap3.client.ui.TextBox;
import org.gwtbootstrap3.client.ui.html.Div;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,10 @@
and Compliance Team (ACT) to discuss at [email protected]
</bh:Text>
</bh:Div>
<bh:Div
ui:field="entitySubjectsWidgetContainer"
addStyleNames="margin-left-5 margin-right-5"
/>
<bh:ClearFix />
<bh:Div>
<bh:Div
Expand All @@ -70,10 +74,6 @@
/>
</bh:Div>
<bh:ClearFix />
<bh:Div
ui:field="entitySubjectsWidgetContainer"
addStyleNames="margin-left-5 margin-right-5"
/>

<bh:Div addStyleNames="margin-top-5" ui:field="controlsContainer">
<bh:Div
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@
text="Access restricted pending review by Synapse Access and Compliance Team."
/>
</bh:Div>
<bh:Div
ui:field="entitySubjectsWidgetContainer"
addStyleNames="margin-left-5 margin-right-5"
/>
<bh:ClearFix />
<bh:Div>
<bh:Div
ui:field="entitySubjectsWidgetContainer"
addStyleNames="margin-left-5 margin-right-5"
/>
<bh:Div
ui:field="teamSubjectsWidgetContainer"
pull="LEFT"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,10 @@
and Compliance Team (ACT) to discuss at [email protected]
</bh:Text>
</bh:Div>
<bh:Div
ui:field="entitySubjectsWidgetContainer"
addStyleNames="margin-left-5 margin-right-5"
/>
<bh:ClearFix />
<bh:Div>
<bh:Div
Expand All @@ -72,11 +76,6 @@
/>
</bh:Div>
<bh:ClearFix />
<bh:Div
ui:field="entitySubjectsWidgetContainer"
pull="LEFT"
addStyleNames="margin-left-5 margin-right-5"
/>
<bh:Div addStyleNames="margin-top-5" ui:field="controlsContainer">
<bh:Div
ui:field="reviewAccessRequestsContainer"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@
<b:BlockQuote>
<g:SimplePanel ui:field="wikiContainer" />
</b:BlockQuote>
<bh:Div
ui:field="entitySubjectsWidgetContainer"
addStyleNames="margin-left-5 margin-right-5"
/>
<bh:ClearFix />
<bh:Div addStyleNames="margin-top-5" ui:field="controlsContainer">
<bh:Div
Expand Down Expand Up @@ -88,11 +92,6 @@
visible="false"
addStyleNames="small-alert margin-right-2"
/>
<bh:Div
ui:field="entitySubjectsWidgetContainer"
addStyleNames="margin-left-5 margin-right-5"
/>

<bh:Div
ui:field="teamSubjectsWidgetContainer"
pull="LEFT"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,11 @@
<g:HTML ui:field="terms" styleName="font-size-14" />
</bh:Paragraph>
</b:BlockQuote>
<bh:Div
ui:field="entitySubjectsWidgetContainer"
addStyleNames="margin-left-5 margin-right-5"
/>

<bh:ClearFix />
<bh:Div addStyleNames="margin-top-5" ui:field="controlsContainer">
<bh:Div
Expand All @@ -62,10 +67,6 @@
visible="false"
addStyleNames="margin-right-5"
/>
<bh:Div
ui:field="entitySubjectsWidgetContainer"
addStyleNames="margin-left-5 margin-right-5"
/>
<bh:Div
ui:field="teamSubjectsWidgetContainer"
pull="LEFT"
Expand Down

0 comments on commit eaa62d8

Please sign in to comment.