Skip to content

Commit

Permalink
fix: incorrect export progress in qbo dashboard (#857)
Browse files Browse the repository at this point in the history
* fix: incorrect export progress in qbo dashboard

fixes https://app.clickup.com/t/86cvrmv0b

* fix: incorrect export progress in all integrations

(cherry picked from commit 758b858)
  • Loading branch information
JustARatherRidiculouslyLongUsername committed Jun 27, 2024
1 parent e032ea2 commit b9bfb50
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ export class BusinessCentralDashboardComponent implements OnInit {
if (queuedTasks.length) {
this.isImportInProgress = false;
this.isExportInProgress = true;
this.pollExportStatus();
this.pollExportStatus(this.exportableAccountingExportIds);
} else {
this.accountingExportService.importExpensesFromFyle().subscribe(() => {
this.dashboardService.getExportableAccountingExportIds().subscribe((exportableAccountingExportIds) => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ export class IntacctDashboardComponent implements OnInit {
if (queuedTasks.length) {
this.isImportInProgress = false;
this.isExportInProgress = true;
this.pollExportStatus();
this.pollExportStatus(this.exportableAccountingExportIds);
} else {
this.accountingExportService.importExpensesFromFyle('v1').subscribe(() => {
this.dashboardService.getExportableAccountingExportIds('v1').subscribe((exportableAccountingExportIds) => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ export class NetsuiteDashboardComponent implements OnInit {
if (queuedTasks.length) {
this.isImportInProgress = false;
this.isExportInProgress = true;
this.pollExportStatus();
this.pollExportStatus(this.exportableAccountingExportIds);
} else {
this.accountingExportService.importExpensesFromFyle('v1').subscribe(() => {
this.dashboardService.getExportableAccountingExportIds('v1').subscribe((exportableAccountingExportIds) => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ export class QboDashboardComponent implements OnInit {
if (queuedTasks.length) {
this.isImportInProgress = false;
this.isExportInProgress = true;
this.pollExportStatus();
this.pollExportStatus(this.exportableAccountingExportIds);
} else {
this.accountingExportService.importExpensesFromFyle('v1').subscribe(() => {
this.dashboardService.getExportableAccountingExportIds('v1').subscribe((exportableAccountingExportIds) => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ export class Sage300DashboardComponent implements OnInit {
if (queuedTasks.length) {
this.isImportInProgress = false;
this.isExportInProgress = true;
this.pollExportStatus();
this.pollExportStatus(this.exportableAccountingExportIds);
} else {
this.accountingExportService.importExpensesFromFyle().subscribe(() => {
this.dashboardService.getExportableAccountingExportIds().subscribe((exportableAccountingExportIds) => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ export class XeroDashboardComponent implements OnInit {
if (queuedTasks.length) {
this.isImportInProgress = false;
this.isExportInProgress = true;
this.pollExportStatus();
this.pollExportStatus(this.exportableAccountingExportIds);
} else {
this.accountingExportService.importExpensesFromFyle('v1').subscribe(() => {
this.dashboardService.getExportableAccountingExportIds('v1').subscribe((exportableAccountingExportIds) => {
Expand Down

0 comments on commit b9bfb50

Please sign in to comment.