nextcloud-vue
                                
                                 nextcloud-vue copied to clipboard
                                
                                    nextcloud-vue copied to clipboard
                            
                            
                            
                        Fix useModelMigration in async components
It was using getCurrentInstance() which, as I understand it, isn't part of vue's public API anymore and isn't guaranteed to work in every situation.
Makes call site a bit uglier, but I don't think there's a better way to do it.
☑️ Resolves
- Fix #6607
🏁 Checklist
- [x] ⛑️ Tests are included or are not applicable
- [x] 📘 Component documentation has been extended, updated or is not applicable
- [ ] 3️⃣ Backport to nextrequested with a Vue 3 upgrade