Handle missing blocks/addresses in preview

This commit is contained in:
Mononaut
2022-08-03 16:43:47 +00:00
parent 26a9020f77
commit 53ea64bd49
5 changed files with 29 additions and 10 deletions

View File

@@ -43,8 +43,10 @@ export class OpenGraphService {
}
});
// expose this service to global scope, so we can access it from the unfurler
window['ogService'] = this;
// expose routing method to global scope, so we can access it from the unfurler
window['ogService'] = {
loadPage: (path) => { return this.loadPage(path) }
};
}
setOgImage() {