Skip to content

Commit fd85341

Browse files
committed
Disable global interactivity with individual auth
1 parent ee81a3b commit fd85341

File tree

1 file changed

+2
-2
lines changed
  • src/ProjectTemplates/Web.ProjectTemplates/content/BlazorWeb-CSharp/.template.config

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,7 @@
349349
"defaultValue": "InteractivePerPage",
350350
"displayName": "_Interactivity location",
351351
"description": "Chooses which components will have interactive rendering enabled",
352-
"isEnabled": "(InteractivityPlatform != \"None\")",
352+
"isEnabled": "(InteractivityPlatform != \"None\" && auth == \"None\")",
353353
"choices": [
354354
{
355355
"choice": "InteractivePerPage",
@@ -413,7 +413,7 @@
413413
"AllInteractive": {
414414
"type": "parameter",
415415
"datatype": "bool",
416-
"isEnabled": "(InteractivityPlatform != \"None\")",
416+
"isEnabled": "(InteractivityPlatform != \"None\" && auth == \"None\")",
417417
"defaultValue": "false",
418418
"displayName": "_Enable interactive rendering globally throughout the site",
419419
"description": "Configures whether to make every page interactive by applying an interactive render mode at the top level. If false, pages will use static server rendering by default, and can be marked interactive on a per-page or per-component basis."

0 commit comments

Comments
 (0)