Skip to content

Commit

Permalink
Testing purpose only
Browse files Browse the repository at this point in the history
  • Loading branch information
adityamittal3107 committed Feb 7, 2025
1 parent 823f1f1 commit f84761e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/embed/ts-embed.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ export class TsEmbed {
* This is useful for removing the DOM node when the
* embed instance is destroyed.
*/
protected insertedDomEl: Node;
public insertedDomEl: Node;

/**
* The DOM node where the ThoughtSpot app is to be embedded.
Expand Down Expand Up @@ -1134,6 +1134,7 @@ export class TsEmbed {
public destroy(): void {
try {
this.insertedDomEl?.parentNode.removeChild(this.insertedDomEl);
// this.insertedDomEl?.remove();
this.unsubscribeToEvents();
} catch (e) {
logger.log('Error destroying TS Embed', e);
Expand Down

0 comments on commit f84761e

Please sign in to comment.