mirror of
https://github.com/unraid/api.git
synced 2026-01-01 06:01:18 -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(() => {
|
setTimeout(() => {
|
||||||
load();
|
load();
|
||||||
loadCloudState();
|
if (connectPluginInstalled.value) {
|
||||||
|
loadCloudState();
|
||||||
|
}
|
||||||
}, 500);
|
}, 500);
|
||||||
|
|
||||||
onResult((result) => {
|
onResult((result) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user