Skip to content

Commit

Permalink
revert unwanted change
Browse files Browse the repository at this point in the history
  • Loading branch information
Dosant committed Oct 29, 2020
1 parent 45f9981 commit 8986867
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/plugins/embeddable/public/lib/embeddables/embeddable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -195,14 +195,14 @@ export abstract class Embeddable<

private onResetInput(newInput: TEmbeddableInput) {
if (!isEqual(this.input, newInput)) {
if (this.input.lastReloadRequestTime !== newInput.lastReloadRequestTime) {
this.reload();
}
this.input = newInput;
this.input$.next(newInput);
this.updateOutput({
title: getPanelTitle(this.input, this.output),
} as Partial<TEmbeddableOutput>);
if (this.input.lastReloadRequestTime !== newInput.lastReloadRequestTime) {
this.reload();
}
}
}

Expand Down

0 comments on commit 8986867

Please sign in to comment.