Use clearer urls fro documents

This commit is contained in:
Jori Lallo
2016-08-15 21:41:51 +02:00
parent 537341c01c
commit 3089ac7bc8
14 changed files with 88 additions and 56 deletions

View File

@@ -72,7 +72,7 @@ class DocumentSceneStore {
try {
await client.post('/documents.delete', { id: this.document.id });
browserHistory.push(`/collections/${this.document.collection.id}`);
browserHistory.push(this.document.collection.url);
} catch (e) {
console.error("Something went wrong");
}