Skip to content

Commit

Permalink
Make navigation embeddable creatable
Browse files Browse the repository at this point in the history
  • Loading branch information
Heenawter committed Jun 21, 2023
1 parent 41287f7 commit b1d9f30
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ export class NavigationEmbeddableFactoryDefinition implements EmbeddableFactoryD
return true;
}

public canCreateNew() {
return true;
}

public async create(initialInput: EmbeddableInput, parent?: IContainer) {
return new NavigationEmbeddable(initialInput, parent);
}
Expand Down

0 comments on commit b1d9f30

Please sign in to comment.