style: lint
Build / Build-and-ng-test (pull_request) Successful in 4m3s
Build / Build-and-test-development (pull_request) Successful in 8m35s

This commit is contained in:
Mihajlo Medjedovic
2025-06-06 15:03:51 +02:00
parent e5f8e500c1
commit 4f2c993b2d
2 changed files with 27 additions and 25 deletions
@@ -1,28 +1,28 @@
import { BaseSASResponse } from "./common/BaseSASResponse";
import { BaseSASResponse } from './common/BaseSASResponse'
export interface PublicGetChangeinfo extends BaseSASResponse {
jsparams: Jsparam[]
jsparams: Jsparam[]
}
export interface Jsparam {
TABLE_ID: string;
SUBMIT_STATUS_CD: string;
BASE_LIB: string;
BASE_DS: string;
SUBMITTED_BY_NM: string;
SUBMITTED_ON: number;
SUBMITTED_REASON_TXT: string;
INPUT_OBS: number;
INPUT_VARS: number;
NUM_OF_APPROVALS_REQUIRED: number;
NUM_OF_APPROVALS_REMAINING: number;
REVIEWED_BY_NM: string;
REVIEWED_ON?: any;
TABLE_NM: string;
BASE_TABLE: string;
REVIEWED_ON_DTTM: string;
SUBMITTED_ON_DTTM: string;
LIB_ENGINE: string;
ALLOW_RESTORE: string;
REASON: string;
}
TABLE_ID: string
SUBMIT_STATUS_CD: string
BASE_LIB: string
BASE_DS: string
SUBMITTED_BY_NM: string
SUBMITTED_ON: number
SUBMITTED_REASON_TXT: string
INPUT_OBS: number
INPUT_VARS: number
NUM_OF_APPROVALS_REQUIRED: number
NUM_OF_APPROVALS_REMAINING: number
REVIEWED_BY_NM: string
REVIEWED_ON?: any
TABLE_NM: string
BASE_TABLE: string
REVIEWED_ON_DTTM: string
SUBMITTED_ON_DTTM: string
LIB_ENGINE: string
ALLOW_RESTORE: string
REASON: string
}
@@ -167,7 +167,8 @@ export class ApproveDetailsComponent implements AfterViewInit, OnDestroy {
.approveTable(approveParams, 'SASControlTable', 'auditors/postdata')
.then((res: any) => {
// If we are approving MPE_TABLES we will arm the trigger for the reload of startup data to se the updated tables
if (this.refreshStartupserviceAfterApprove) this.sasService.reloadStartupData()
if (this.refreshStartupserviceAfterApprove)
this.sasService.reloadStartupData()
this.route.navigateByUrl('/review/history')
})
.catch((err: any) => {
@@ -198,7 +199,8 @@ export class ApproveDetailsComponent implements AfterViewInit, OnDestroy {
// If we are approving MPE_TABLES we will arm the trigger for the reload of startup data to se the updated tables
// After user approved if armed, reload will be triggered
if (res.jsparams[0].BASE_DS === 'MPE_TABLES') this.refreshStartupserviceAfterApprove = true
if (res.jsparams[0].BASE_DS === 'MPE_TABLES')
this.refreshStartupserviceAfterApprove = true
})
.catch((err: any) => {
this.acceptLoading = false