style: lint
All checks were successful
Build / Build-and-ng-test (pull_request) Successful in 4m8s
Build / Build-and-test-development (pull_request) Successful in 8m34s

This commit is contained in:
Mihajlo Medjedovic
2025-06-02 11:24:30 +02:00
parent f3125ff464
commit 22d46a5dcc
2 changed files with 20 additions and 18 deletions

View File

@@ -84,13 +84,15 @@ export class AutomaticComponent implements OnInit {
public async getCurrentUser() {
this.currentUserInfoLoading = true
this.sasViyaService.getCurrentUser().subscribe((res: ViyaApiCurrentUser) => {
this.currentUserInfoLoading = false
this.sasViyaService
.getCurrentUser()
.subscribe((res: ViyaApiCurrentUser) => {
this.currentUserInfoLoading = false
this.currentUserInfo = res
this.currentUserInfo = res
this.dcPath = `/export/viya/homes/${res.id}`
})
this.dcPath = `/export/viya/homes/${res.id}`
})
}
public async getAdminGroups() {

View File

@@ -1,17 +1,17 @@
export interface ViyaApiCurrentUser {
creationTimeStamp: string;
modifiedTimeStamp: string;
id: string;
type: string;
name: string;
links: Link[];
version: number;
creationTimeStamp: string
modifiedTimeStamp: string
id: string
type: string
name: string
links: Link[]
version: number
}
export interface Link {
method: string;
rel: string;
href: string;
uri: string;
type: string;
}
method: string
rel: string
href: string
uri: string
type: string
}