Skip to content

Commit 50239f0

Browse files
committed
Fix the problem for the GitHubIssuePanel #26
- Hide Assign yourself link button when a repository is not mine
1 parent 7bca690 commit 50239f0

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

src/main/java/com/junichi11/netbeans/modules/github/issues/issue/ui/GitHubIssuePanel.form

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@
275275
</Group>
276276
<EmptySpace min="-2" pref="37" max="-2" attributes="0"/>
277277
<Group type="103" groupAlignment="0" attributes="0">
278-
<Component id="descriptionTabbedPanel" pref="412" max="32767" attributes="0"/>
278+
<Component id="descriptionTabbedPanel" max="32767" attributes="0"/>
279279
<Component id="titleTextField" max="32767" attributes="0"/>
280280
</Group>
281281
<EmptySpace max="-2" attributes="0"/>

src/main/java/com/junichi11/netbeans/modules/github/issues/issue/ui/GitHubIssuePanel.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -360,6 +360,7 @@ private void setCollaboratorsComponentsVisible(boolean isVisible) {
360360
milestoneComboBox.setVisible(isVisible);
361361
assigneeLabel.setVisible(isVisible);
362362
assigneeComboBox.setVisible(isVisible);
363+
assignYourselfLinkButton.setVisible(isVisible);
363364
newLabelButton.setVisible(isVisible);
364365
newMilestoneButton.setVisible(isVisible);
365366
}

0 commit comments

Comments
 (0)