feat: refactor Sidebar into standalone reusable component (#5663)

🚀!
This commit is contained in:
David Luzar
2022-10-17 12:25:24 +02:00
committed by GitHub
parent fdc462ec01
commit e9067de173
32 changed files with 1369 additions and 464 deletions

View File

@@ -148,7 +148,7 @@ class Library {
defaultStatus?: "unpublished" | "published";
}): Promise<LibraryItems> => {
if (openLibraryMenu) {
this.app.setState({ isLibraryOpen: true });
this.app.setState({ openSidebar: "library" });
}
return this.setLibrary(() => {