forked from jsnbuchanan/crowd-funder-for-time-pwa
refactor: migrate DataExportSection to PlatformServiceMixin
- Use PlatformServiceMixin for platform and database access - Replace manual PlatformService instantiation with mixin methods/properties - Use $contacts() for contact export - Use capabilities for platform checks in template and logic - Remove unused imports and redundant code - Lint clean
This commit is contained in:
@@ -766,10 +766,10 @@ import QuickNav from "../components/QuickNav.vue";
|
||||
import TopMessage from "../components/TopMessage.vue";
|
||||
import UserNameDialog from "../components/UserNameDialog.vue";
|
||||
import DataExportSection from "../components/DataExportSection.vue";
|
||||
import IdentitySection from '@/components/IdentitySection.vue';
|
||||
import RegistrationNotice from '@/components/RegistrationNotice.vue';
|
||||
import LocationSearchSection from '@/components/LocationSearchSection.vue';
|
||||
import UsageLimitsSection from '@/components/UsageLimitsSection.vue';
|
||||
import IdentitySection from "@/components/IdentitySection.vue";
|
||||
import RegistrationNotice from "@/components/RegistrationNotice.vue";
|
||||
import LocationSearchSection from "@/components/LocationSearchSection.vue";
|
||||
import UsageLimitsSection from "@/components/UsageLimitsSection.vue";
|
||||
import {
|
||||
AppString,
|
||||
DEFAULT_IMAGE_API_SERVER,
|
||||
@@ -1635,13 +1635,13 @@ export default class AccountViewView extends Vue {
|
||||
// Placeholder for share dialog logic
|
||||
openShareDialog() {
|
||||
// TODO: Implement share dialog logic
|
||||
this.notify.info('Share dialog not yet implemented.');
|
||||
this.notify.info("Share dialog not yet implemented.");
|
||||
}
|
||||
|
||||
get searchAreaLabel(): string {
|
||||
// Return a string representing the current search area, or blank if not set
|
||||
// Example: return this.searchAreaName || '';
|
||||
return this.isSearchAreasSet ? 'Custom Area Set' : '';
|
||||
return this.isSearchAreasSet ? "Custom Area Set" : "";
|
||||
}
|
||||
|
||||
onSetSearchArea() {
|
||||
@@ -1651,7 +1651,7 @@ export default class AccountViewView extends Vue {
|
||||
|
||||
openSearchAreaDialog() {
|
||||
// TODO: Implement search area dialog logic
|
||||
this.notify.info('Search area dialog not yet implemented.');
|
||||
this.notify.info("Search area dialog not yet implemented.");
|
||||
}
|
||||
|
||||
onRecheckLimits() {
|
||||
|
||||
Reference in New Issue
Block a user