provide an indicator in Module Settings when a module is shared across multiple pages

This commit is contained in:
sbwalker
2026-02-25 11:44:15 -05:00
parent 0cc1b5a3e9
commit 573a914699
6 changed files with 30 additions and 18 deletions

View File

@@ -33,6 +33,11 @@ namespace Oqtane.Models
/// </summary>
public bool AllPages { get; set; }
/// <summary>
/// indicates if the module is shared across multiple pages (only set in specific scenarios to ensure performance)
/// </summary>
[NotMapped]
public bool IsShared { get; set; }
/// <summary>
/// Reference to the <see cref="ModuleDefinition"/> used for this module.