Fixed small issue in clone functionality (#64085) (#64105)

This commit is contained in:
Devon Thomson 2020-04-24 16:13:03 -04:00 committed by GitHub
parent ad01a544e6
commit 8a8e87d881
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -33,6 +33,10 @@ export class PlaceholderEmbeddableFactory implements EmbeddableFactoryDefinition
return false;
}
public canCreateNew() {
return false;
}
public async create(initialInput: EmbeddableInput, parent?: IContainer) {
return new PlaceholderEmbeddable(initialInput, parent);
}