Skip to content

Commit 8a8e87d

Browse files
authored
Fixed small issue in clone functionality (#64085) (#64105)
1 parent ad01a54 commit 8a8e87d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/plugins/dashboard/public/application/embeddable/placeholder/placeholder_embeddable_factory.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,10 @@ export class PlaceholderEmbeddableFactory implements EmbeddableFactoryDefinition
3333
return false;
3434
}
3535

36+
public canCreateNew() {
37+
return false;
38+
}
39+
3640
public async create(initialInput: EmbeddableInput, parent?: IContainer) {
3741
return new PlaceholderEmbeddable(initialInput, parent);
3842
}

0 commit comments

Comments
 (0)