Skip to content

Commit

Permalink
Make allow attribute configurable in iframe dashboards
Browse files Browse the repository at this point in the history
  • Loading branch information
cvpcs authored May 2, 2024
1 parent f923deb commit e01e3e8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/panels/lovelace/strategies/iframe/iframe-view-strategy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ export type IframeViewStrategyConfig = {
type: "iframe";
url: string;
title?: string;
allow?: string;
};

@customElement("iframe-view-strategy")
Expand All @@ -21,6 +22,7 @@ export class IframeViewStrategy extends ReactiveElement {
{
type: "iframe",
url: config.url,
allow: config.allow,
} as IframeCardConfig,
],
};
Expand Down

0 comments on commit e01e3e8

Please sign in to comment.