style: lint
This commit is contained in:
@@ -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() {
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user