Skip to content

Commit

Permalink
Merge pull request #2024 from shubhamkmr04/shubham/LSP-settings-check
Browse files Browse the repository at this point in the history
Settings: LSP should not appear when no nodes are present
  • Loading branch information
kaloudis authored Mar 5, 2024
2 parents 201bca1 + 8eba3e3 commit e1e1fa5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion views/Settings/Settings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ export default class Settings extends React.Component<
</View>
)}

{BackendUtils.supportsLSPs() && (
{BackendUtils.supportsLSPs() && selectedNode && (
<View
style={{
backgroundColor: themeColor('secondary'),
Expand Down

0 comments on commit e1e1fa5

Please sign in to comment.