diff --git a/ogWebconsole/src/app/app-routing.module.ts b/ogWebconsole/src/app/app-routing.module.ts index 241d28a..c2e3a06 100644 --- a/ogWebconsole/src/app/app-routing.module.ts +++ b/ogWebconsole/src/app/app-routing.module.ts @@ -65,7 +65,6 @@ const routes: Routes = [ { path: 'clients/partition-assistant', component: PartitionAssistantComponent }, { path: 'clients/:id', component: ClientMainViewComponent }, { path: 'clients/:id/create-image', component: CreateClientImageComponent }, - { path: 'images', component: ImagesComponent }, { path: 'repositories', component: RepositoriesComponent }, { path: 'repository/:id', component: MainRepositoryViewComponent }, { path: 'software', component: SoftwareComponent }, diff --git a/ogWebconsole/src/app/components/repositories/repository-images/repository-images.component.html b/ogWebconsole/src/app/components/repositories/repository-images/repository-images.component.html index 00cbebf..e1f3c60 100644 --- a/ogWebconsole/src/app/components/repositories/repository-images/repository-images.component.html +++ b/ogWebconsole/src/app/components/repositories/repository-images/repository-images.component.html @@ -46,9 +46,9 @@ {{ column.header }} - - - {{ image[column.columnDef] ? 'check_circle' : 'cancel' }} + + + {{ image.image[column.columnDef] ? 'check_circle' : 'cancel' }} diff --git a/ogWebconsole/src/app/components/repositories/repository-images/repository-images.component.ts b/ogWebconsole/src/app/components/repositories/repository-images/repository-images.component.ts index e882c65..5fde29f 100644 --- a/ogWebconsole/src/app/components/repositories/repository-images/repository-images.component.ts +++ b/ogWebconsole/src/app/components/repositories/repository-images/repository-images.component.ts @@ -39,14 +39,19 @@ export class RepositoryImagesComponent implements OnInit { cell: (image: any) => `${image.id}` }, { - columnDef: 'image.image.name', + columnDef: 'name', header: 'Nombre de imagen', cell: (image: any) => `${image.image.name}` }, { columnDef: 'remotePc', header: 'Remote Pc', - cell: (image: any) => `${image.remotePc}` + cell: (image: any) => `${image.image?.remotePc}` + }, + { + columnDef: 'isGlobal', + header: 'Imagen global', + cell: (image: any) => `${image.image?.isGlobal}` }, { columnDef: 'status', diff --git a/ogWebconsole/src/app/layout/sidebar/sidebar.component.html b/ogWebconsole/src/app/layout/sidebar/sidebar.component.html index bf0e82a..6f38cfe 100644 --- a/ogWebconsole/src/app/layout/sidebar/sidebar.component.html +++ b/ogWebconsole/src/app/layout/sidebar/sidebar.component.html @@ -137,13 +137,6 @@ - - - photo - {{ 'images' | translate }} - - - warehouse