forked from trent_larson/crowd-funder-for-time-pwa
refactor: standardize notification usage in ChoiceButtonDialog.vue
Add notify helper property and initialize in created() with createNotifyHelpers(this.$notify) Replace direct $notify call in open() with this.notify.confirm(...) and use TIMEOUTS.MODAL for duration Remove unused NotificationIface import Add $notify property for Vue runtime injection to satisfy type checker Ensure all notification usage is consistent with project best practices This ensures maintainable, type-safe, and consistent notification handling in the ChoiceButtonDialog component.
This commit is contained in:
@@ -191,8 +191,8 @@ export default class ComponentName extends Vue {
|
||||
**Progress**: 3/15 (20%)
|
||||
|
||||
- [x] UserNameDialog.vue ✅ **MIGRATED**
|
||||
- [ ] ActivityListItem.vue
|
||||
- [ ] AmountInput.vue
|
||||
- [x] AmountInput.vue ✅ **REVIEWED (no migration needed)**
|
||||
- Pure UI component, no databaseUtil or notification usage.
|
||||
- [ ] ChoiceButtonDialog.vue
|
||||
- [ ] ContactNameDialog.vue
|
||||
- [ ] DataExportSection.vue
|
||||
|
||||
Reference in New Issue
Block a user