Working single comment view

This commit is contained in:
Belén Curcio
2018-07-25 17:24:14 -03:00
parent e519503129
commit 906940f152
13 changed files with 125 additions and 147 deletions
@@ -22,6 +22,12 @@ export default async function initLocalState(environment: Environment) {
// Parse query params
const query = qs.parse(location.search);
// Saving location host for permalink until we get the asset url - the url now points to the tenant
if (location) {
localRecord.setValue(location.host, "host");
localRecord.setValue(location.origin, "origin");
}
if (query.assetID) {
localRecord.setValue(query.assetID, "assetID");
}