forked from jsnbuchanan/crowd-funder-for-time-pwa
feat: migrate QuickActionBvcEndView.vue to PlatformServiceMixin and notification helpers
- Replace databaseUtil.retrieveSettingsForActiveAccount() with $settings() - Replace raw SQL "SELECT * FROM contacts" with $getAllContacts() - Remove databaseUtil.mapQueryResultToValues() dependency - Extract 6 notification messages to constants in notifications.ts - Replace all $notify() calls with notify helper methods - Add computed properties for template optimization (hasSelectedClaims, canSubmit, claimCountText) - Add PlatformServiceMixin as mixin - Update template to use computed properties for cleaner logic - Add notification templates for confirmation success messages - All linter errors resolved; only existing warnings remain Migration: Database + SQL + Notifications + Template streamlining Time: 45 minutes | Complexity: Medium | Issues: None Human Testing: Pending Security: Eliminates raw SQL queries, standardizes error handling Performance: Optimized contact retrieval, reduced template complexity
This commit is contained in:
@@ -1339,7 +1339,7 @@ export default class ProjectViewView extends Vue {
|
||||
this.notify.confirm(
|
||||
NOTIFY_CONFIRM_CLAIM.text,
|
||||
async () => {
|
||||
await this.confirmClaim(give);
|
||||
await this.confirmClaim(give);
|
||||
},
|
||||
TIMEOUTS.MODAL,
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user