Skip to content
This repository has been archived by the owner on Jul 3, 2024. It is now read-only.

Commit

Permalink
Issue #SB-10418 fix: Refreshing the list after updation.
Browse files Browse the repository at this point in the history
  • Loading branch information
swayangjit committed Feb 2, 2019
1 parent 73e0ee6 commit 1d10942
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/pages/qr-code-result/qr-code-result.ts
Original file line number Diff line number Diff line change
Expand Up @@ -542,16 +542,16 @@ export class QrCodeResultPage {
this.downloadProgress = res.data.downloadProgress;
}

if (this.downloadProgress === 100) {
this.showLoading = false;
this.getChildContents();
}
}
// Get child content
if (res.data && res.data.status === 'IMPORT_COMPLETED' && res.type === 'contentImport') {

this.showLoading = false;
this.isDownloadStarted = false;
this.results = [];
this.parents = [];
this.paths = [];
this.getChildContents();
}
// For content update available
if (res.data && res.type === 'contentUpdateAvailable' && res.data.identifier === this.identifier) {
Expand Down

0 comments on commit 1d10942

Please sign in to comment.