mirror of
https://github.com/unraid/api.git
synced 2025-12-31 13:39:52 -06:00
fix: over-eager cloud query from web components (#1506)
<!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Bug Fixes** * Improved initialization logic to ensure cloud state is only loaded when the connect plugin is installed, enhancing reliability during startup. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
@@ -1198,7 +1198,9 @@ export const useServerStore = defineStore('server', () => {
|
||||
|
||||
setTimeout(() => {
|
||||
load();
|
||||
loadCloudState();
|
||||
if (connectPluginInstalled.value) {
|
||||
loadCloudState();
|
||||
}
|
||||
}, 500);
|
||||
|
||||
onResult((result) => {
|
||||
|
||||
Reference in New Issue
Block a user