Skip to content

Commit

Permalink
lint issue fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
mansurskTarento committed Aug 8, 2024
1 parent 2cc85f3 commit 4531f0e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ export class DesignationsComponent implements OnInit {
} else {
setTimeout(() => {
this.getOrgReadData()
}, _.get(this.designationConfig, 'refreshDelayTime', 10000))
}, _.get(this.designationConfig, 'refreshDelayTime', 10000))
}
// console.log('orgFramework Details', res)
})
Expand Down Expand Up @@ -309,7 +309,7 @@ export class DesignationsComponent implements OnInit {
if (action && action === 'delete') {
this.openSnackbar(_.get(this.designationConfig, 'termRemoveMsg'))
}
}, _.get(this.designationConfig, 'refreshDelayTime', 10000))
}, _.get(this.designationConfig, 'refreshDelayTime', 10000))
}
},
error: () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ export class ImportDesignationComponent implements OnInit, OnDestroy {
this.openSnackbar(errorMessage)
this.designationsImportFailed = []
} else {
if (retry === false) {
if (!retry) {
this.progressDialogData['subTitle'] = _.get(this.designationConfig, 'associationUpdateMsg')
}
const framework = _.get(this.frameworkInfo, 'code')
Expand Down Expand Up @@ -289,7 +289,7 @@ export class ImportDesignationComponent implements OnInit, OnDestroy {
if (response) {
setTimeout(() => {
this.dialogRef.close(true)
}, _.get(this.designationConfig, 'refreshDelayTime', 10000))
}, _.get(this.designationConfig, 'refreshDelayTime', 10000))
}
},
error: () => {
Expand All @@ -306,7 +306,7 @@ export class ImportDesignationComponent implements OnInit, OnDestroy {
icon: 'vega',
title: _.get(this.designationConfig, 'importingDesignation'),
subTitle: _.get(this.designationConfig, 'termCreationMsg'),
showLoader: true
showLoader: true,
}
this.dialogRef = this.dialog.open(ConfirmationBoxComponent, {
disableClose: true,
Expand Down
2 changes: 2 additions & 0 deletions src/app/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ import {
MatCheckboxModule,
MatNativeDateModule,
MatSortModule,
MatProgressSpinnerModule,
} from '@angular/material'
import { BrowserModule, HAMMER_GESTURE_CONFIG } from '@angular/platform-browser'
import { BrowserAnimationsModule } from '@angular/platform-browser/animations'
Expand Down Expand Up @@ -145,6 +146,7 @@ const getBaseHref = (platformLocation: PlatformLocation): string => {
PipeSafeSanitizerModule,
TourModule,
PublicLogoutModule,
MatProgressSpinnerModule,
ServiceWorkerModule.register('ngsw-worker.js', { enabled: environment.production }),
],
exports: [
Expand Down

0 comments on commit 4531f0e

Please sign in to comment.