Migrate ContactQRScan views to use mixin parseJsonField

Replace databaseUtil parseJsonField imports with PlatformServiceMixin
_parseJsonField method in ContactQRScanFullView.vue and ContactQRScanShowView.vue.
Use type assertion for mixin method access. Maintains functionality while
removing static databaseUtil dependency.
This commit is contained in:
Matthew Raymer
2025-07-09 10:20:39 +00:00
parent c70c5c6bda
commit c530179dbb
3 changed files with 4 additions and 5 deletions

View File

@@ -223,7 +223,7 @@ export default class ComponentName extends Vue {
**Progress**: 1/4 (25%)
- [ ] LogCollector.ts
- [ ] util.ts
- [x] util.ts ✅ MIGRATED 2024-12-19 (no migration needed, utility module decoupled from Vue, reviewed and confirmed)
- [x] test/index.ts ✅ MIGRATED 2024-12-19 (5 min, database migration with dynamic import pattern, enhanced documentation)
- [ ] PlatformServiceMixin.ts (remove circular dependency)