We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ee8e59 commit 7d63c11Copy full SHA for 7d63c11
docs/spfx/office/overview.md
@@ -39,7 +39,8 @@ Use the SPFx's `context` property on the web part's class and the Microsoft Team
39
if (!!this.context.sdks.microsoftTeams) {
40
const teamsContext = await this.context.sdks.microsoftTeams.teamsJs.app.getContext();
41
switch (teamsContext.app.host.name.toLowerCase()) {
42
- case 'teams':
+ case 'teams': // this is the host name for the "classic" Teams client
43
+ case 'teamsmodern': // this is the host name for the "new" Teams client
44
// RUNNING IN MICROSOFT TEAMS
45
case 'office':
46
// RUNNING IN OFFICE / OFFICE.COM
0 commit comments