diff --git a/zero.Core/Options/ApplicationOptions.cs b/zero.Core/Options/ApplicationOptions.cs new file mode 100644 index 00000000..ef1b61df --- /dev/null +++ b/zero.Core/Options/ApplicationOptions.cs @@ -0,0 +1,13 @@ +namespace zero.Core.Options +{ + public class ApplicationOptions + { + public ApplicationOptions() + { + EnableMultiple = false; + } + + + public bool EnableMultiple { get; set; } + } +} diff --git a/zero.Core/Options/ZeroOptions.cs b/zero.Core/Options/ZeroOptions.cs index 21c9e777..d6878ca3 100644 --- a/zero.Core/Options/ZeroOptions.cs +++ b/zero.Core/Options/ZeroOptions.cs @@ -30,6 +30,7 @@ namespace zero.Core.Options Services = new(); Routing = new(); Interceptors = new(); + Applications = new(); Raven.Indexes.Add(); Raven.Indexes.Add(); @@ -71,6 +72,9 @@ namespace zero.Core.Options /// public RavenOptions Raven { get; set; } + /// + public ApplicationOptions Applications { get; set; } + /// public string BackofficePath { get; set; } @@ -156,6 +160,11 @@ namespace zero.Core.Options /// RavenOptions Raven { get; set; } + /// + /// Application options + /// + ApplicationOptions Applications { get; set; } + /// /// URL path to the backoffice (defaults to /zero) /// diff --git a/zero.Web.UI/App/navigation.vue b/zero.Web.UI/App/navigation.vue index 28c81d80..2d953bd0 100644 --- a/zero.Web.UI/App/navigation.vue +++ b/zero.Web.UI/App/navigation.vue @@ -22,8 +22,7 @@ - - + @@ -37,6 +36,7 @@ +