mirror of
https://github.com/wassname/talk.git
synced 2026-08-03 13:20:59 +08:00
Working single comment view
This commit is contained in:
@@ -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");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user