Skip to content

Commit 8b2fd3f

Browse files
authored
cleanup blazor wasm template (#49188)
1 parent 78bec18 commit 8b2fd3f

File tree

2 files changed

+1
-14
lines changed

2 files changed

+1
-14
lines changed

src/ProjectTemplates/Web.ProjectTemplates/content/ComponentsWebAssembly-CSharp/.template.config/template.json

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,6 @@
118118
},
119119
"exclude": [
120120
"Pages/CallWebApi.razor",
121-
"Shared/NavMenu.CallsMicrosoftGraph.razor",
122121
"Shared/NavMenu.CallsWebApi.razor"
123122
]
124123
},
@@ -128,8 +127,7 @@
128127
"Shared/NavMenu.CallsWebApi.razor": "Shared/NavMenu.razor"
129128
},
130129
"exclude": [
131-
"Shared/NavMenu.NoApi.razor",
132-
"Shared/NavMenu.CallsMicrosoftGraph.razor"
130+
"Shared/NavMenu.NoApi.razor"
133131
]
134132
},
135133
{
@@ -433,12 +431,6 @@
433431
"defaultValue": "https://graph.microsoft.com/v1.0",
434432
"description": "URL of the API to call from the web app. This option only applies if --auth SingleOrg, --auth MultiOrg or --auth IndividualB2C without and ASP.NET Core host is specified."
435433
},
436-
"CallsMicrosoftGraph": {
437-
"type": "parameter",
438-
"datatype": "bool",
439-
"defaultValue": "false",
440-
"description": "Specifies if the web app calls Microsoft Graph. This option only applies if --auth SingleOrg or --auth MultiOrg is specified."
441-
},
442434
"CalledApiScopes": {
443435
"type": "parameter",
444436
"datatype": "string",

src/ProjectTemplates/Web.ProjectTemplates/content/ComponentsWebAssembly-CSharp/Shared/NavMenu.NoApi.razor

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,6 @@
2424
<span class="bi bi-list-nested" aria-hidden="true"></span> Fetch data
2525
</NavLink>
2626
</div>
27-
<div class="nav-item px-3">
28-
<NavLink class="nav-link" href="showProfile">
29-
<span class="bi bi-person-fill" aria-hidden="true"></span> Show Profile
30-
</NavLink>
31-
</div>
3227
</nav>
3328
</div>
3429

0 commit comments

Comments
 (0)