Skip to content

Commit

Permalink
fix: improve empty detection
Browse files Browse the repository at this point in the history
  • Loading branch information
AlejandroAkbal committed Aug 26, 2020
1 parent c166d33 commit 1e78e80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/js/analytics.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ function settingsTracking(state) {
(key) => state[key].value !== state[key].defaultValue
)

if (!difference) {
if (!difference.length) {
console.debug('No setting difference')
return
}
Expand Down

0 comments on commit 1e78e80

Please sign in to comment.