Skip to content
This repository has been archived by the owner on Aug 28, 2024. It is now read-only.

config.hasOwnProperty check "spFXContext" string replaced by "spfxContext" #419

Merged
merged 1 commit into from
Apr 18, 2017

Conversation

VelinGeorgiev
Copy link
Contributor

The upper letters "FX" in config.hasOwnProperty("spFXContext ") check in file src/configuration/pnplibconfig.ts were the reason the pnp.setup not to pick the custom spfxContext for spfx webpart.

Q A
Bug fix? [X ]
New feature? [ ]
New sample? [ ]
Related issues? fixes #X, partially #Y, mentioned in #Z

What's in this Pull Request?

Small bug fix related to issue #411

Small bug fix related to issue SharePoint#411
The upper letters "FX" in config.hasOwnProperty("spFXContext ") check were the reason the pnp.setup not to pick the custom spfxContext for a spfx webpart.
@msftclas
Copy link

@VelinGeorgiev,
Thanks for having already signed the Contribution License Agreement. Your agreement was validated by Microsoft. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot

@patrick-rodgers
Copy link
Contributor

Great find, thanks for the fix!

@patrick-rodgers patrick-rodgers added this to the 2.0.5 milestone Apr 22, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants