Skip to content

Commit

Permalink
feat: render plugin download UI on event
Browse files Browse the repository at this point in the history
  • Loading branch information
rdsov committed Nov 11, 2024
1 parent d9a4a0c commit 54f7700
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/openscd/src/addons/Layout.ts
Original file line number Diff line number Diff line change
Expand Up @@ -327,6 +327,10 @@ export class OscdLayout extends LitElement {
this.requestUpdate();
}
);

document.addEventListener("open-plugin-download", () => {
this.pluginDownloadUI.show();
});
}


Expand Down

0 comments on commit 54f7700

Please sign in to comment.