refs #2738. error handler
testing/ogGui-multibranch/pipeline/head There was a failure building this commit
Details
testing/ogGui-multibranch/pipeline/head There was a failure building this commit
Details
parent
1e2b5bb03e
commit
1c91b97e31
|
@ -48,6 +48,6 @@ export class ConvertImageToVirtualComponent implements OnInit {
|
||||||
}
|
}
|
||||||
|
|
||||||
close() {
|
close() {
|
||||||
this.dialogRef.close(true);
|
this.dialogRef.close(false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -50,6 +50,6 @@ export class ConvertImageComponent implements OnInit{
|
||||||
}
|
}
|
||||||
|
|
||||||
close() {
|
close() {
|
||||||
this.dialogRef.close(true);
|
this.dialogRef.close(false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -65,6 +65,6 @@ export class EditImageComponent implements OnInit{
|
||||||
}
|
}
|
||||||
|
|
||||||
close() {
|
close() {
|
||||||
this.dialogRef.close();
|
this.dialogRef.close(false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -49,6 +49,6 @@ export class ImportImageComponent implements OnInit {
|
||||||
}
|
}
|
||||||
|
|
||||||
close() {
|
close() {
|
||||||
this.dialogRef.close(true);
|
this.dialogRef.close(false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -84,8 +84,10 @@ export class RepositoriesComponent implements OnInit {
|
||||||
width: '600px'
|
width: '600px'
|
||||||
});
|
});
|
||||||
|
|
||||||
dialogRef.afterClosed().subscribe(() => {
|
dialogRef.afterClosed().subscribe((result) => {
|
||||||
this.search();
|
if (result) {
|
||||||
|
this.search();
|
||||||
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -108,7 +110,11 @@ export class RepositoriesComponent implements OnInit {
|
||||||
this.dialog.open(ManageRepositoryComponent, {
|
this.dialog.open(ManageRepositoryComponent, {
|
||||||
width: '600px',
|
width: '600px',
|
||||||
data: repository['@id']
|
data: repository['@id']
|
||||||
}).afterClosed().subscribe(() => this.search());
|
}).afterClosed().subscribe((result) => {
|
||||||
|
if (result) {
|
||||||
|
this.search();
|
||||||
|
}
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
deleteRepository(event: MouseEvent,command: any): void {
|
deleteRepository(event: MouseEvent,command: any): void {
|
||||||
|
@ -141,7 +147,9 @@ export class RepositoriesComponent implements OnInit {
|
||||||
});
|
});
|
||||||
|
|
||||||
dialogRef.afterClosed().subscribe(result => {
|
dialogRef.afterClosed().subscribe(result => {
|
||||||
this.search();
|
if (result) {
|
||||||
|
this.search();
|
||||||
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -155,7 +163,9 @@ export class RepositoriesComponent implements OnInit {
|
||||||
});
|
});
|
||||||
|
|
||||||
dialogRef.afterClosed().subscribe(result => {
|
dialogRef.afterClosed().subscribe(result => {
|
||||||
this.search();
|
if (result) {
|
||||||
|
this.search();
|
||||||
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -7,6 +7,11 @@
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
::ng-deep .mat-mdc-dialog-content {
|
||||||
|
height: 100% !important;
|
||||||
|
max-height: 100vh !important;
|
||||||
|
}
|
||||||
|
|
||||||
.header-container {
|
.header-container {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
|
|
@ -144,7 +144,6 @@ export class ShowMonoliticImagesComponent implements OnInit {
|
||||||
|
|
||||||
showImageInfo(event: MouseEvent, image:any) {
|
showImageInfo(event: MouseEvent, image:any) {
|
||||||
event.stopPropagation();
|
event.stopPropagation();
|
||||||
this.loading = true;
|
|
||||||
this.loadImageAlert(image).subscribe(
|
this.loadImageAlert(image).subscribe(
|
||||||
response => {
|
response => {
|
||||||
this.alertMessage = response;
|
this.alertMessage = response;
|
||||||
|
@ -193,7 +192,6 @@ export class ShowMonoliticImagesComponent implements OnInit {
|
||||||
}
|
}
|
||||||
|
|
||||||
toggleAction(image: any, action:string): void {
|
toggleAction(image: any, action:string): void {
|
||||||
this.loading = true;
|
|
||||||
switch (action) {
|
switch (action) {
|
||||||
case 'get-aux':
|
case 'get-aux':
|
||||||
this.http.post(`${this.baseUrl}/image-image-repositories/server/${image.uuid}/create-aux-files`, {}).subscribe({
|
this.http.post(`${this.baseUrl}/image-image-repositories/server/${image.uuid}/create-aux-files`, {}).subscribe({
|
||||||
|
|
Loading…
Reference in New Issue