Skip to content

Commit

Permalink
Fix two warnings during test
Browse files Browse the repository at this point in the history
  • Loading branch information
ligangty committed Feb 6, 2024
1 parent c03c1a9 commit fd9f8c3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/main/webui/src/app/components/content/group/GroupEdit.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ const EditConstituents = ({store, currentAvailable}) => {

return <div className="fieldset">
<ol className="left-half detail-value detail-edit-list">
<lt><label>Current:</label><span className="hint">(hover for controls)</span></lt>
<label>Current:</label><span className="hint">(hover for controls)</span>
{
store.constituents && store.constituents.map((item, index) => <li key={`constituent-${item}`}><div className="constituent">
<div className="inline value">{item}</div>
Expand Down Expand Up @@ -124,7 +124,7 @@ const EditConstituents = ({store, currentAvailable}) => {
}
</ol>
<ol className="right-half detail-value detail-edit-list">
<lt><label>Available:</label><span className="hint">(click to add to constituents)</span></lt>
<label>Available:</label><span className="hint">(click to add to constituents)</span>
{
currentAvailable && currentAvailable.map(item => store.packageType !== "" && item.startsWith(store.packageType) && <li key={`available-${item}`}><div className="available">
<a href="" title="Add to constituents" className="surround-cp-action" onClick={e => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ const EditCapabilities = ({allowReleases, allowSnapshots, register}) => {
EditCapabilities.propTypes = {
allowReleases: PropTypes.bool,
allowSnapshots: PropTypes.bool,
register: PropTypes.function,
register: PropTypes.func
};

export default function HostedEdit() {
Expand Down

0 comments on commit fd9f8c3

Please sign in to comment.