소스 검색

Rename variable: "selectedName" -> "primaryName"

bubble
Kyle Shockey 7 년 전
부모
커밋
afec3af4e0
No known key found for this signature in database GPG 키 ID: DC20D559FFBC0D36
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. +3
    -3
      src/plugins/topbar/topbar.jsx

+ 3
- 3
src/plugins/topbar/topbar.jsx 파일 보기

@@ -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})
}


불러오는 중...
취소
저장