mirror of
https://github.com/directus/directus.git
synced 2026-02-16 11:15:08 -05:00
Fix create M2M field concurrency (#9220)
* fix create m2m field concurrency * remove unused import * Re-add missing store Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
This commit is contained in:
@@ -173,6 +173,8 @@ export const useFieldDetailStore = defineStore({
|
||||
for (const collection of Object.keys(this.items)) {
|
||||
await api.post(`/items/${collection}`, this.items[collection]);
|
||||
}
|
||||
|
||||
await fieldsStore.hydrate();
|
||||
} catch (err: any) {
|
||||
unexpectedError(err);
|
||||
} finally {
|
||||
|
||||
Reference in New Issue
Block a user