mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-12 03:48:56 +00:00
UI - Made module tabs uppercase since that's what we do
Modules - Finished module ordering
This commit is contained in:
1 parent
bfb122e95a
commit
babd862b40
20 files changed
+272
-208
No files matched your search
@@ -4,6 +4,12 @@ namespace Artemis.Storage.Entities.Module
|
||||
{
|
||||
public class ModuleSettingsEntity
|
||||
{
|
||||
public ModuleSettingsEntity()
|
||||
{
|
||||
Id = Guid.NewGuid();
|
||||
}
|
||||
|
||||
public Guid Id { get; set; }
|
||||
public Guid PluginGuid { get; set; }
|
||||
public int PriorityCategory { get; set; }
|
||||
public int Priority { get; set; }
|
||||
|
||||
@@ -13,7 +13,7 @@ namespace Artemis.Storage.Repositories
|
||||
internal ModuleRepository(LiteRepository repository)
|
||||
{
|
||||
_repository = repository;
|
||||
_repository.Database.GetCollection<ModuleSettingsEntity>().EnsureIndex(s => s.PluginGuid);
|
||||
_repository.Database.GetCollection<ModuleSettingsEntity>().EnsureIndex(s => s.PluginGuid, true);
|
||||
}
|
||||
|
||||
public void Add(ModuleSettingsEntity moduleSettingsEntity)
|
||||
|
||||
Reference in new issue
Block a user