Skip to content

Commit

Permalink
Merge pull request #39 from KB-iGOT/spv-issues
Browse files Browse the repository at this point in the history
Spv issues
  • Loading branch information
vishnubansaltarento authored Oct 3, 2024
2 parents cff766d + 2d11626 commit a52b172
Show file tree
Hide file tree
Showing 8 changed files with 22 additions and 22 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -158,10 +158,10 @@ <h2 class="cb-title">Basic information</h2>
Ministry
</label>
<mat-form-field appearance="outline" class="margin-top-s w-full">
<input id="ministry" matInput tab-directive type="text"
placeholder="Select your ministry"="Ministry" formControlName="ministry"
(keyup)="specialCharachters($event, 'ministry')" [matAutocomplete]="ministryAutocomplete"
aria-label="Ministry" #ministry aria-label="Ministry Field input" maxlength="250" />
<input id="ministry" matInput tab-directive type="text" placeholder="Select your ministry"
formControlName="ministry" (keyup)="specialCharachters($event, 'ministry')"
[matAutocomplete]="ministryAutocomplete" aria-label="Ministry" #ministry
aria-label="Ministry Field input" maxlength="250" />
<mat-error [hidden]="false" *ngIf="departmentForm?.controls['ministry'].errors?.required"
aria-label="Ministry is mandatory">
Ministry is mandatory
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -577,7 +577,7 @@ export class EditEventComponent implements OnInit {
this.displayLoader = false
this.openSnackbar('Event details are successfuly updated.')
this.router.navigate([`/app/home/events`])
}, 5000)
}, 5000)
}
},
(err: any) => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ export class AllRequestComponent implements OnInit {
if (_res && _res.data === 'confirmed') {
setTimeout(() => {
this.getRequestList()
}, 1000)
}, 1000)

this.snackBar.open('Re-assign submitted Successfully')
} else {
Expand Down Expand Up @@ -288,7 +288,7 @@ export class AllRequestComponent implements OnInit {
this.invalidRes = res
setTimeout(() => {
this.getRequestList()
}, 1000)
}, 1000)
this.snackBar.open('Marked as Invalid')
}

Expand All @@ -310,7 +310,7 @@ export class AllRequestComponent implements OnInit {
if (_res && _res.data === 'confirmed') {
setTimeout(() => {
this.getRequestList()
}, 1000)
}, 1000)
this.snackBar.open('Assigned submitted Successfully')
} else {
// this.snackBar.open('error')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export class RequestCopyDetailsComponent implements OnInit {
requestForm!: FormGroup
specialCharList = `( a-z/A-Z , 0-9 . _ - $ / \ : [ ]' ' !)`
// tslint:disable-next-line:max-line-length
noSpecialChar = new RegExp(/^[\u0900-\u097F\u0980-\u09FF\u0C00-\u0C7F\u0B80-\u0BFF\u0C80-\u0CFF\u0D00-\u0D7F\u0A80-\u0AFF\u0B00-\u0B7F\u0A00-\u0A7Fa-zA-Z0-9()$[\]\\.:,_/ -]*$/) //NOSONAR
noSpecialChar = new RegExp(/^[\u0900-\u097F\u0980-\u09FF\u0C00-\u0C7F\u0B80-\u0BFF\u0C80-\u0CFF\u0D00-\u0D7F\u0A80-\u0AFF\u0B00-\u0B7F\u0A00-\u0A7Fa-zA-Z0-9()$[\]\\.:,_/ -]*$/) // NOSONAR
// learningList = ['Self-paced', 'Instructor-led']
learningList = [
{
Expand Down Expand Up @@ -72,11 +72,11 @@ export class RequestCopyDetailsComponent implements OnInit {
competencySubtheme!: FormControl
data: any
constructor(private formBuilder: FormBuilder,
private requestService: RequestServiceService,
private activatedRouter: ActivatedRoute,
private snackBar: MatSnackBar,
private router: Router,
public dialog: MatDialog
private requestService: RequestServiceService,
private activatedRouter: ActivatedRoute,
private snackBar: MatSnackBar,
private router: Router,
public dialog: MatDialog
) {

this.currentUser = sessionStorage.getItem('idDetails') ? sessionStorage.getItem('idDetails') : ''
Expand Down Expand Up @@ -653,9 +653,9 @@ export class RequestCopyDetailsComponent implements OnInit {
this.router.navigateByUrl('/app/home/all-request')
this.snackBar.open('Request submitted successfully ')
}
}, 1000)
}, 1000)
},
(error: any) => {
(error: any) => {
this.dialogRefs.close({ error })
this.snackBar.open('Request Failed')

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ export class TelemetryService {
},
},
object: {
...(data) && data, //NOSONAR
...(data) && data, // NOSONAR
},
}
)
Expand Down Expand Up @@ -116,7 +116,7 @@ export class TelemetryService {
},
},
object: {
...(data) && data, //NOSONAR
...(data) && data, // NOSONAR
},
},
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@
</div> -->

<!-- <div *ngIf="currentDashboard[0]" class="container-balanced mat-drawer-side">
<div *ngIf="currentDashboard[0]" class="container-balanced mat-drawer-side">
<lib-rain-dashboards [showFilters]="true" [showMessage]="false" [messageType]="currentDashboard[0].messageType"
[message]="currentDashboard[0].message" [mapLayoutFilePath]="mapPath" (libDashboardId)="getDashboardId($event)"
(libDateFilterPreset)="getDateFilterPreset($event)" [authToken]="token" [getDashboardForKM]="getDashboardForKM"
[getDashboardForProfile]="getDashboardForProfile" [getChartV2]="getChartV2" [isFrontPage]="false">
</lib-rain-dashboards>
</div> -->
</div>
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ export class SearchInputHomeComponent implements OnInit, OnChanges {
ngOnChanges() {
for (const change in SimpleChange) {
if (change === 'placeHolder') {
this.placeHolder = this.placeHolder //NOSONAR
this.placeHolder = this.placeHolder // NOSONAR
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ export class SearchInputComponent implements OnInit, OnChanges {
ngOnChanges() {
for (const change in SimpleChange) {
if (change === 'placeHolder') {
this.placeHolder = this.placeHolder //NOSONAR
this.placeHolder = this.placeHolder // NOSONAR
}
}
}
Expand Down

0 comments on commit a52b172

Please sign in to comment.