fix: only fetch meta if not already fetching
This commit is contained in:
parent
0c561f2d63
commit
83ffb39bee
@ -24,7 +24,7 @@ export function getMeta(doctype) {
|
|||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
if (!doctypeMeta[doctype]) {
|
if (!doctypeMeta[doctype] && !meta.loading) {
|
||||||
meta.fetch()
|
meta.fetch()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user