mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
Merge pull request #3018 from pypeclub/bugfix/fix_alternate_sites
SiteSync: fix transitive alternate sites, fix dropdown in Local Settings
This commit is contained in:
commit
92bf8d0035
2 changed files with 62 additions and 19 deletions
|
|
@ -848,6 +848,11 @@ class SyncServerModule(OpenPypeModule, ITrayModule):
|
|||
if self.enabled and sync_settings.get('enabled'):
|
||||
sites.append(self.LOCAL_SITE)
|
||||
|
||||
active_site = sync_settings["config"]["active_site"]
|
||||
# for Tray running background process
|
||||
if active_site not in sites and active_site == get_local_site_id():
|
||||
sites.append(active_site)
|
||||
|
||||
return sites
|
||||
|
||||
def tray_init(self):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue