Modified the file upload cancel message

This commit is contained in:
Rajnikant Lodhi 2022-07-07 11:09:33 +05:30
parent 9381578657
commit e24aa1387b
4 changed files with 4 additions and 4 deletions

View File

@ -276,7 +276,7 @@ export class AddIosTemplateComponent implements OnInit, OnDestroy {
cancelUploading() {
this.uploader.clearQueue();
this.uploadServiceService.processBarCount(null)
this.toasterService.warning('Image upload cancelled');
this.toasterService.warning('File upload cancelled');
// this.uploadServiceService.cancelFileUploading(false)
// window.location.reload()

View File

@ -137,7 +137,7 @@ export class AddIouTemplateComponent implements OnInit, OnDestroy {
cancelUploading() {
this.uploader.clearQueue();
this.uploadServiceService.processBarCount(100)
this.toasterService.warning('Image upload cancelled');
this.toasterService.warning('File upload cancelled');
// this.uploadServiceService.cancelFileUploading(false)
// window.location.reload()
}

View File

@ -429,7 +429,7 @@ export class NewTemplateDialogComponent implements OnInit {
cancelUploading() {
this.uploaderImage.clearQueue();
this.uploadServiceService.processBarCount(null)
this.toasterService.warning('Image upload cancelled');
this.toasterService.warning('File upload cancelled');
this.uploadServiceService.cancelFileUploading(false)
}

View File

@ -170,7 +170,7 @@ export class ImportProjectDialogComponent implements OnInit {
cancelUploading() {
this.uploader.clearQueue();
this.uploadServiceService.processBarCount(null)
this.toasterService.warning('Image upload cancelled');
this.toasterService.warning('File upload cancelled');
this.uploadServiceService.cancelFileUploading(false)
this.isFirstStepCompleted = false
this.uploader.cancelAll();