Browse Source

Rename variable: "selectedName" -> "primaryName"

bubble
Kyle Shockey 7 years ago
parent
commit
afec3af4e0
No known key found for this signature in database GPG Key ID: DC20D559FFBC0D36
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      src/plugins/topbar/topbar.jsx

+ 3
- 3
src/plugins/topbar/topbar.jsx View File

@@ -58,11 +58,11 @@ export default class Topbar extends React.Component {
const urls = configs.urls || []

if(urls && urls.length) {
let selectedName = configs["urls.primaryName"]
if(selectedName)
let primaryName = configs["urls.primaryName"]
if(primaryName)
{
urls.forEach((spec, i) => {
if(spec.name === selectedName)
if(spec.name === primaryName)
{
this.setState({selectedIndex: i})
}


Loading…
Cancel
Save