fix: only fetch meta if not already fetching

This commit is contained in:
Shariq Ansari 2025-03-15 14:21:11 +05:30
parent 0c561f2d63
commit 83ffb39bee

View File

@ -24,7 +24,7 @@ export function getMeta(doctype) {
},
})
if (!doctypeMeta[doctype]) {
if (!doctypeMeta[doctype] && !meta.loading) {
meta.fetch()
}