mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-10-06 02:29:40 +00:00
Merge branch 'main' into chunk-data
This commit is contained in:
commit
9932b5870b
484 files changed
+45549
-2467
No files matched your search
@@ -74,6 +74,15 @@ public static class ConfigurationSelectDataFactory
|
||||
yield return new (TB("Check every week"), UpdateInterval.WEEKLY);
|
||||
}
|
||||
|
||||
public static IEnumerable<ConfigurationSelectData<UpdateInterval>> GetManagedUpdateIntervalData(UpdateInterval currentValue)
|
||||
{
|
||||
if (currentValue is UpdateInterval.DISABLE_UPDATES)
|
||||
yield return new(TB("Updates disabled by your organization"), UpdateInterval.DISABLE_UPDATES);
|
||||
|
||||
foreach (var option in GetUpdateIntervalData())
|
||||
yield return option;
|
||||
}
|
||||
|
||||
public static IEnumerable<ConfigurationSelectData<UpdateInstallation>> GetUpdateBehaviourData()
|
||||
{
|
||||
yield return new(TB("Install updates manually"), UpdateInstallation.MANUAL);
|
||||
|
||||
Reference in new issue
Block a user