eosdac / eosdac-client-legacy

This is the frontend to interact with the DAC smart contracts.
MIT License
14 stars 19 forks source link

Error when first loading locally (value of undefined) #2

Closed lukestokes closed 5 years ago

lukestokes commented 5 years ago

image

  if(!store.getters['user/getSettingByName']('debug_console_log').value) {
    config.disable_ConsoleLog();
  }

If I comment that out, it works.

lukestokes commented 5 years ago

Wow. Super odd. Now I can't reproduce this. I've tried clearing all browser related storage to see if would happen again.... can't reproduce it.

I think this would fix it though:

  if(store.getters['user/getSettingByName']('debug_console_log') && !store.getters['user/getSettingByName']('debug_console_log').value) {
    config.disable_ConsoleLog();
  }