handle site level scripts in App component

This commit is contained in:
sbwalker
2024-02-20 13:50:09 -05:00
parent 0f0d168976
commit ab09810bef
7 changed files with 46 additions and 50 deletions

View File

@ -7,7 +7,6 @@ namespace Oqtane.Infrastructure
{
public string SiteKey { get; set; }
public List<string> Assemblies { get; set; } = new List<string>();
public List<Resource>Scripts { get; set; } = new List<Resource>();
public bool IsInitialized { get; set; } = false;
}
}

View File

@ -1,6 +1,5 @@
using System.Collections.Generic;
using System.Linq;
using Oqtane.Models;
namespace Oqtane.Infrastructure
{
@ -22,7 +21,6 @@ namespace Oqtane.Infrastructure
serverState = new ServerState();
serverState.SiteKey = siteKey;
serverState.Assemblies = new List<string>();
serverState.Scripts = new List<Resource>();
serverState.IsInitialized = false;
_serverStates.Add(serverState);
}