doc: Add comment about similar code.

This commit is contained in:
2025-08-16 16:19:24 -06:00
parent 6007bc34e4
commit 799981d1cb
2 changed files with 3 additions and 0 deletions

View File

@@ -168,6 +168,8 @@ export default class DataExportSection extends Vue {
* @throws {Error} If export fails
*/
public async exportDatabase(): Promise<void> {
// Note that similar code is in ContactsView.vue exportContactData()
if (this.isExporting) {
return; // Prevent multiple simultaneous exports
}