Skip to content

Commit

Permalink
Fixes lion badge when disabled
Browse files Browse the repository at this point in the history
Resolves brave#8889

Auditors: @bsclifton

Test Plan:
- Visit any site
- Disable shields
- Lion head is grayed out
  • Loading branch information
NejcZdovc committed May 16, 2017
1 parent fe0bcc4 commit 379678a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 2 additions & 1 deletion app/renderer/components/navigation/navigator.js
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,8 @@ class Navigator extends React.Component {
const activeTab = tabState.getByTabId(state, activeTabId)
const activeTabShowingMessageBox = !!(activeTab && tabState.isShowingMessageBox(state, activeTabId))
const allSiteSettings = siteSettingsState.getAllSiteSettings(state, activeFrame)
const braverySettings = siteSettings.activeSettings(allSiteSettings, state, appConfig)
const activeSiteSettings = siteSettings.getSiteSettingsForURL(allSiteSettings, activeFrame.get('location'))
const braverySettings = siteSettings.activeSettings(activeSiteSettings, state, appConfig)
const enabledExtensions = extensionState.getEnabledExtensions(state)
const extensionBrowserActions = enabledExtensions
.map((extension) => {
Expand Down
1 change: 0 additions & 1 deletion js/components/braveryPanel.js
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,6 @@ class BraveryPanel extends ImmutableComponent {
if (setting !== 'noScript' && (parsedUrl.protocol === 'https:' || parsedUrl.protocol === 'http:')) {
ruleKey = `https?://${parsedUrl.host}`
}
console.log(e.target.value)
appActions.changeSiteSetting(ruleKey, setting, e.target.value, this.isPrivate)
this.onReload()
}
Expand Down

0 comments on commit 379678a

Please sign in to comment.