Skip to content

Commit

Permalink
HARMONY-1978: Close dropdown and add some whitespace to create link
Browse files Browse the repository at this point in the history
  • Loading branch information
vinnyinverso committed Jan 16, 2025
1 parent 873ca92 commit 9d870ee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
<input type="text" class="form-control" id="label-search" placeholder="label name">
</li>
<li id="no-match-li" class="fw-light text-center fs-6" style="display: none;">
<a href="#" id="create-label-link">Create Label</a>
&nbsp;<a href="#" id="create-label-link">Create Label</a>&nbsp;
</li>
<li>
<ul id="labels-list">
Expand Down
1 change: 1 addition & 0 deletions services/harmony/public/js/workflow-ui/labels.js
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,7 @@ function bindEventListeners() {
});
document.querySelector('#create-label-link').addEventListener('click', (event) => {
handleSubmitClick(event, 'PUT');
bsDropdown.hide();
});
}

Expand Down

0 comments on commit 9d870ee

Please sign in to comment.