refs #1984. Integration ogGit. Crete and deploy Image. Show git images in repository
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
a1c2fb7c2e
commit
5b8dba4835
|
@ -151,7 +151,6 @@ table {
|
|||
font-size: 0.9em;
|
||||
}
|
||||
|
||||
/* Mejoras en la tabla */
|
||||
.mat-mdc-table {
|
||||
border-radius: 8px;
|
||||
overflow: hidden;
|
||||
|
@ -167,7 +166,6 @@ table {
|
|||
background-color: #f8f9fa;
|
||||
}
|
||||
|
||||
/* Estilos para los botones de acción */
|
||||
.action-buttons {
|
||||
display: flex;
|
||||
gap: 4px;
|
||||
|
|
|
@ -32,13 +32,9 @@ export class ShowGitCommitsComponent implements OnInit{
|
|||
alertMessage: string | null = null;
|
||||
repository: any = {};
|
||||
datePipe: DatePipe = new DatePipe('es-ES');
|
||||
|
||||
// Nuevas propiedades para manejar branches
|
||||
branches: string[] = [];
|
||||
selectedBranch: string = '';
|
||||
loadingBranches: boolean = false;
|
||||
|
||||
// Nuevas propiedades para manejar repositorios
|
||||
repositories: string[] = [];
|
||||
selectedRepository: string = '';
|
||||
loadingRepositories: boolean = false;
|
||||
|
@ -156,7 +152,7 @@ export class ShowGitCommitsComponent implements OnInit{
|
|||
}
|
||||
|
||||
onBranchChange(): void {
|
||||
this.page = 0; // Resetear a la primera página
|
||||
this.page = 0;
|
||||
this.loadData();
|
||||
}
|
||||
|
||||
|
@ -189,8 +185,6 @@ export class ShowGitCommitsComponent implements OnInit{
|
|||
this.page = event.pageIndex;
|
||||
this.itemsPerPage = event.pageSize;
|
||||
this.length = event.length;
|
||||
// Para commits, no necesitamos paginación del servidor ya que obtenemos todos los commits
|
||||
// La paginación se maneja en el cliente
|
||||
}
|
||||
|
||||
toggleAction(commit: any, action: string): void {
|
||||
|
@ -260,7 +254,6 @@ export class ShowGitCommitsComponent implements OnInit{
|
|||
}
|
||||
|
||||
goToPage(commit: any) {
|
||||
// Abrir el commit en una nueva pestaña (puedes adaptar la URL según tu necesidad)
|
||||
window.open(`http://localhost:3100/oggit/${this.selectedRepository}/commit/${commit.hexsha}`, '_blank');
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue