Skip to content

Commit

Permalink
Fix check for cold storage
Browse files Browse the repository at this point in the history
  • Loading branch information
emanuelmutschlechner committed Feb 7, 2019
1 parent 791f43e commit 9b766bd
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion src/backend/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ function connect (Vue) {

bridge.log('backend ready.')
bridge.send('ready', Vue.version)
if (storage.get('shared-data:logDetected')) {
if (storage.get('shared-data:logDetected') !== false) {
console.log(
`%c vue-devtools %c Detected Vue v${Vue.version} %c`,
'background:#35495e ; padding: 1px; border-radius: 3px 0 0 3px; color: #fff',
Expand Down
16 changes: 8 additions & 8 deletions src/devtools/views/settings/GlobalPreferences.vue
Original file line number Diff line number Diff line change
Expand Up @@ -59,21 +59,21 @@
</VueGroup>
</VueFormField>

<VueFormField title="Detected Console Log">
<VueFormField title="Editable props">
<VueSwitch
:value="!$shared.logDetected"
@input="$shared.logDetected = !$event"
:value="$shared.editableProps"
@input="$shared.editableProps = $event"
>
Disable
Enable <span class="dim">(may print warnings)</span>
</VueSwitch>
</VueFormField>

<VueFormField title="Editable props">
<VueFormField title="Detected console log">
<VueSwitch
:value="$shared.editableProps"
@input="$shared.editableProps = $event"
:value="!$shared.logDetected"
@input="$shared.logDetected = !$event"
>
Enable <span class="dim">(may print warnings)</span>
Disable
</VueSwitch>
</VueFormField>
</div>
Expand Down

0 comments on commit 9b766bd

Please sign in to comment.