mirror of
https://github.com/filecoin-project/slate.git
synced 2024-11-27 10:52:41 +03:00
fixed calling property of undefined value
This commit is contained in:
parent
387045082c
commit
573cb9a5fa
@ -112,7 +112,7 @@ export default async (req, res) => {
|
||||
added = addedToSlate;
|
||||
}
|
||||
|
||||
if (slate.isPublic) {
|
||||
if (slate?.isPublic) {
|
||||
SearchManager.updateFile(createdFiles, "ADD");
|
||||
}
|
||||
ViewerManager.hydratePartial(id, { library: true, slates: slate ? true : false });
|
||||
|
Loading…
Reference in New Issue
Block a user