Skip to content

Commit

Permalink
Merge pull request #2 from cathalnoonan/open_in_firefox
Browse files Browse the repository at this point in the history
Allow control to load in Firefox
  • Loading branch information
drivardxrm committed Oct 11, 2023
2 parents 89050e7 + 23daab6 commit 7fb408b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion FluentUITagList/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export class FluentUITagList implements ComponentFramework.StandardControl<IInpu
this._root = createRoot(container!)

//https://butenko.pro/2023/01/08/pcf-design-time-vs-run-time/
if (location.ancestorOrigins[0] === "https://make.powerapps.com") {
if (location.ancestorOrigins?.[0] === "https://make.powerapps.com") {
this._isDesignMode = true;
}

Expand Down

0 comments on commit 7fb408b

Please sign in to comment.