just-jeb / angular-chrome-extension

81 stars 29 forks source link

DevTools Unable to parse SourceMap #5

Open BlueAlder opened 4 years ago

BlueAlder commented 4 years ago

Hey awesome project and thanks for sharing. I've set it up my own project using Angular 9 as opposed to 8 in your repository and it seems to be working except that when inspecting the html of the files I am getting this error image.

Is there anyway to fix this issue that you know of, i'm fairly new to angular so I'm not much of an expert.

Also I am finding an issue when in my main component of when I update an array with a callback from chrome.storage.sync.get it is not live updating the data in the UI. Any quick fixes on this one?

chrome.storage.sync.get('boards', (data) => {
      console.log(data);
      if (data !== null) {
        // this.vistedBoards is updating but is not reflected in the UI until an update outside of a chrome callback mutates the variable
        this.visitedBoards.push({id: 123, name: 'chrome'});
        console.log(this.visitedBoards);
      }
    });