Add a download button, improve share functionality for custom themes

This commit is contained in:
Pieter Vander Vennet 2022-04-18 02:39:30 +02:00
parent 303ccfa322
commit 6ad64e3f70
10 changed files with 64 additions and 40 deletions

View file

@ -47,7 +47,7 @@ Utils.injectJsonDownloadForTests(
)
it("should download the latest version", () => {
const state = new UserRelatedState(new LayoutConfig(<any> bookcaseJson, true, "tests"))
const state = new UserRelatedState(new LayoutConfig(<any> bookcaseJson, true))
const feature = {
"type": "Feature",
"id": "node/5568693115",