viewcontainers bugfix. fixes #717

This commit is contained in:
Anton Vilhelm Ásgeirsson 2018-06-20 20:26:47 +00:00
parent 807ecb33ea
commit 5e920f0ae6

View file

@ -1862,7 +1862,7 @@ export async function containerupdate(name: string, uname: string, ucolor: strin
export async function viewcontainers() {
// # and white space don't agree with FF's JSON viewer.
// Probably other symbols too.
let containers = await Container.getAll()
let containers = await browserBg.contextualIdentities.query({}) // Can't access src/lib/containers.ts from a content script.
window.location.href =
"data:application/json," +
JSON.stringify(containers)