From 83ffb39bee261743651d92a04fa965910c9ace3c Mon Sep 17 00:00:00 2001 From: Shariq Ansari Date: Sat, 15 Mar 2025 14:21:11 +0530 Subject: [PATCH] fix: only fetch meta if not already fetching --- frontend/src/stores/meta.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/stores/meta.js b/frontend/src/stores/meta.js index 092c948a..f43daab1 100644 --- a/frontend/src/stores/meta.js +++ b/frontend/src/stores/meta.js @@ -24,7 +24,7 @@ export function getMeta(doctype) { }, }) - if (!doctypeMeta[doctype]) { + if (!doctypeMeta[doctype] && !meta.loading) { meta.fetch() }