Fix UserNameDialog open error and add defensive ref check

- Added ref="userNameDialog" to UserNameDialog in AccountViewView.vue template
- Patched onEditName() to check for dialog ref and open() method before calling
- Improved error notification to use NotificationIface fields (group, type, title, text)
- Prevents "Cannot read properties of undefined (reading 'open')" error if dialog is missing
This commit is contained in:
Matthew Raymer
2025-07-06 11:08:34 +00:00
parent 64e78fdbce
commit 86fd73051a
9 changed files with 716 additions and 24 deletions

View File

@@ -176,8 +176,9 @@ export default class ComponentName extends Vue {
- [ ] UserProfileView.vue
### **Components (15 files) - Priority 2**
**Progress**: 0/15 (0%)
**Progress**: 2/15 (13%)
- [x] UserNameDialog.vue ✅ **MIGRATED**
- [ ] ActivityListItem.vue
- [ ] AmountInput.vue
- [ ] ChoiceButtonDialog.vue
@@ -187,7 +188,7 @@ export default class ComponentName extends Vue {
- [ ] EntityIcon.vue
- [ ] EntitySelectionStep.vue
- [ ] EntitySummaryButton.vue
- [ ] FeedFilters.vue
- [x] FeedFilters.vue**MIGRATED**
- [ ] GiftDetailsStep.vue
- [ ] GiftedDialog.vue
- [ ] GiftedPrompts.vue
@@ -272,8 +273,8 @@ find src -name "*.vue" -o -name "*.ts" | xargs grep -l "import.*databaseUtil" |
### **Overall Progress**
- **Total files to migrate**: 52
- **Files migrated**: 0
- **Progress**: 0%
- **Files migrated**: 2
- **Progress**: 4%
---