Skip to content

Commit

Permalink
🐛 Forgotten to commit API change into panel header
Browse files Browse the repository at this point in the history
  • Loading branch information
dej611 committed Sep 29, 2020
1 parent 7f66e63 commit fc990e8
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -108,11 +108,10 @@ function renderTooltip(description: string) {
);
}

const VISUALIZE_EMBEDDABLE_TYPE = 'visualization';
type VisualizeEmbeddable = any;

function getViewDescription(embeddable: IEmbeddable | VisualizeEmbeddable) {
if (embeddable.type === VISUALIZE_EMBEDDABLE_TYPE) {
if (embeddable.getVisualizationDescription) {
const description = embeddable.getVisualizationDescription();

if (description) {
Expand Down

0 comments on commit fc990e8

Please sign in to comment.