Skip to content

Commit

Permalink
tidy up
Browse files Browse the repository at this point in the history
  • Loading branch information
JFriel committed Oct 16, 2024
1 parent 9ae81fc commit 14a16c0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Rdmp.Core/Providers/CatalogueChildProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ public class CatalogueChildProvider : ICoreChildProvider
//Catalogue side of things
public Catalogue[] AllCatalogues { get; set; }
public Curation.Data.Datasets.Dataset[] AllDatasets { get; set; }

public Dictionary<int, Catalogue> AllCataloguesDictionary { get; private set; }

public SupportingDocument[] AllSupportingDocuments { get; set; }
Expand Down Expand Up @@ -217,6 +218,7 @@ public class CatalogueChildProvider : ICoreChildProvider
public AllDatasetConfigurationsNode AllDatasetConfigurationsNode { get; set; }
public DatasetProviderConfiguration[] DatasetProviderConfigurations { get; set; }


protected Stopwatch ProgressStopwatch = Stopwatch.StartNew();
private int _progress;

Expand Down Expand Up @@ -396,8 +398,6 @@ public CatalogueChildProvider(ICatalogueRepository repository, IChildProvider[]


DatasetRootFolder = FolderHelper.BuildFolderTree(AllDatasets);


AddChildren(DatasetRootFolder, new DescendancyList(DatasetRootFolder));

ReportProgress("Build Catalogue Folder Root");
Expand Down
1 change: 1 addition & 0 deletions Rdmp.UI/Collections/ConfigurationsCollectionUI.cs
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ public override void SetItemActivator(IActivateItems activator)
new RDMPCollectionCommonFunctionalitySettings(),tbFilter);
CommonTreeFunctionality.WhitespaceRightClickMenuCommandsGetter = e => GetWhitespaceRightClickMenu();
Activator.RefreshBus.EstablishLifetimeSubscription(this);
//tlvConfigurations.AddObject(Activator.CoreChildProvider.DatasetRootFolder);
tlvConfigurations.AddObject(Activator.CoreChildProvider.AllDatasetsNode);
tlvConfigurations.AddObject(Activator.CoreChildProvider.AllRegexRedactionConfigurationsNode);
tlvConfigurations.AddObject(Activator.CoreChildProvider.AllDatasetConfigurationsNode);
Expand Down

0 comments on commit 14a16c0

Please sign in to comment.