Skip to content

Commit

Permalink
Hide "linked levels" icon for 1 display
Browse files Browse the repository at this point in the history
  • Loading branch information
xanderfrangos committed Aug 15, 2019
1 parent 8c74acd commit 4871682
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Titlebar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export default class Titlebar extends React.Component {
}

getLinkIcon = () => {
if(window.allMonitors && window.allMonitors.length > 0) {
if(window.allMonitors && window.allMonitors.length > 1) {
return (
<div title="Link levels" data-active={this.state.linkedLevelsActive} onClick={this.toggleLinkedLevels} className="link">&#xE71B;</div>
)
Expand Down

0 comments on commit 4871682

Please sign in to comment.