Skip to content

Commit 71ed5a2

Browse files
committed
fix: format publish modal button html
1 parent 2cf8339 commit 71ed5a2

File tree

1 file changed

+11
-7
lines changed
  • src/components/widgets/TrainingMonitor/components/MultiTitle

1 file changed

+11
-7
lines changed

src/components/widgets/TrainingMonitor/components/MultiTitle/index.js

+11-7
Original file line numberDiff line numberDiff line change
@@ -117,13 +117,17 @@ class MultiTitle extends React.Component {
117117
/>
118118
{
119119
props.handlePublishModalServiceIndex ?
120-
<><br/>
121-
<a className="btn btn-outline-secondary btn-publish-service"
122-
onClick={props.handlePublishModalServiceIndex.bind(this, props.serviceIndex)}
123-
>
124-
<i
125-
className={`publish-badge-${parseInt(props.serviceIndex) % 8} fas fa-plus`}
126-
/></a></>
120+
<>
121+
<br/>
122+
<button
123+
className="btn btn-outline-secondary btn-publish-service"
124+
onClick={props.handlePublishModalServiceIndex.bind(this, props.serviceIndex)}
125+
>
126+
<i
127+
className={`publish-badge-${parseInt(props.serviceIndex) % 8} fas fa-plus`}
128+
/>
129+
</button>
130+
</>
127131
: null
128132
}
129133
</>

0 commit comments

Comments
 (0)