diff --git a/uSync8.BackOffice/App_Plugins/uSync8/settings/settings.html b/uSync8.BackOffice/App_Plugins/uSync8/settings/settings.html index b51e147e..b2a8032e 100644 --- a/uSync8.BackOffice/App_Plugins/uSync8/settings/settings.html +++ b/uSync8.BackOffice/App_Plugins/uSync8/settings/settings.html @@ -47,10 +47,10 @@
+ checked="vm.settings.RebuildCacheOnCompletion" + on-click="vm.settings.RebuildCacheOnCompletion = !vm.settings.RebuildCacheOnCompletion"> -
+
Rebuild Cache after import
Request that Umbraco rebuilds its cache after an import
diff --git a/uSync8.BackOffice/Cache/RebuildCacheComponent.cs b/uSync8.BackOffice/Cache/RebuildCacheComponent.cs index 9ae55378..d0a51c83 100644 --- a/uSync8.BackOffice/Cache/RebuildCacheComponent.cs +++ b/uSync8.BackOffice/Cache/RebuildCacheComponent.cs @@ -26,7 +26,7 @@ public RebuildCacheComponent(IPublishedSnapshotService snapshotService) private void Config_Reloaded(uSyncSettings settings) { - rebuildCacheOnCompleaton = settings.RebuildCacheOnCompleation; + rebuildCacheOnCompleaton = settings.RebuildCacheOnCompletion; } public void Initialize() diff --git a/uSync8.BackOffice/Config/uSync8.config b/uSync8.BackOffice/Config/uSync8.config index ec343be0..73ee981d 100644 --- a/uSync8.BackOffice/Config/uSync8.config +++ b/uSync8.BackOffice/Config/uSync8.config @@ -11,7 +11,7 @@ - False + False @@ -32,5 +32,6 @@ - + + \ No newline at end of file diff --git a/uSync8.BackOffice/Configuration/BackOfficeConfig.cs b/uSync8.BackOffice/Configuration/BackOfficeConfig.cs index b2732ba3..4341201b 100644 --- a/uSync8.BackOffice/Configuration/BackOfficeConfig.cs +++ b/uSync8.BackOffice/Configuration/BackOfficeConfig.cs @@ -46,7 +46,7 @@ public uSyncSettings LoadSettings() settings.BatchSave = node.Element("BatchSave").ValueOrDefault(false); settings.ReportDebug = node.Element("ReportDebug").ValueOrDefault(false); settings.AddOnPing = node.Element("AddOnPing").ValueOrDefault(true); - settings.RebuildCacheOnCompleation = node.Element("RebuildCacheOnCompleation").ValueOrDefault(true); + settings.RebuildCacheOnCompletion = node.Element("RebuildCacheOnCompletion").ValueOrDefault(false); // load the handlers var handlerSets = node.Element("HandlerSets"); @@ -114,7 +114,7 @@ public uSyncSettings SaveSettings(uSyncSettings settings, bool fireReload = fals node.CreateOrSetElement("UseGuidFilenames", settings.UseGuidNames); node.CreateOrSetElement("BatchSave", settings.BatchSave); node.CreateOrSetElement("ReportDebug", settings.ReportDebug); - node.CreateOrSetElement("RebuildCacheOnCompleation", settings.RebuildCacheOnCompleation); + node.CreateOrSetElement("RebuildCacheOnCompletion", settings.RebuildCacheOnCompletion); if (settings.HandlerSets.Count > 0) { diff --git a/uSync8.BackOffice/Configuration/uSyncSettings.cs b/uSync8.BackOffice/Configuration/uSyncSettings.cs index 1d891010..2aead202 100644 --- a/uSync8.BackOffice/Configuration/uSyncSettings.cs +++ b/uSync8.BackOffice/Configuration/uSyncSettings.cs @@ -30,7 +30,7 @@ public class uSyncSettings public bool AddOnPing { get; set; } = true; - public bool RebuildCacheOnCompleation { get; set; } = true; + public bool RebuildCacheOnCompletion { get; set; } = true; public HandlerSet DefaultHandlerSet() => this.HandlerSets.Where(x => x.Name.InvariantEquals(this.DefaultSet)).FirstOrDefault(); diff --git a/uSync8.Site/App_Plugins/uSync8/settings/settings.html b/uSync8.Site/App_Plugins/uSync8/settings/settings.html index 88a9d0b4..6e137bbd 100644 --- a/uSync8.Site/App_Plugins/uSync8/settings/settings.html +++ b/uSync8.Site/App_Plugins/uSync8/settings/settings.html @@ -47,10 +47,10 @@
+ checked="vm.settings.RebuildCacheOnCompletion" + on-click="vm.settings.RebuildCacheOnCompletion = !vm.settings.RebuildCacheOnCompletion"> -
+
Rebuild Cache after import
Request that Umbraco rebuilds its cache after an import
diff --git a/uSync8.Site/config/uSync8.config b/uSync8.Site/config/uSync8.config index 94aa6582..3fbbd015 100644 --- a/uSync8.Site/config/uSync8.config +++ b/uSync8.Site/config/uSync8.config @@ -41,5 +41,6 @@ False + False \ No newline at end of file