Skip to content

Commit

Permalink
Fixed small issue in clone functionality
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomThomson committed Apr 21, 2020
1 parent b7f2a01 commit b99f938
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit b99f938

Please sign in to comment.