Skip to content

Commit

Permalink
Fixed small issue in clone functionality (#64085)
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomThomson authored Apr 21, 2020
1 parent 4ca8610 commit 5501fb4
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 5501fb4

Please sign in to comment.