change images list to show filename
This commit is contained in:
parent
654671ba4c
commit
1fdbe9edc7
|
@ -9,7 +9,7 @@
|
|||
<div *ngFor="let image of images" class="m-2" masonry-item>
|
||||
<mat-card>
|
||||
<mat-card-header>
|
||||
<mat-card-title>Image by you</mat-card-title>
|
||||
<mat-card-title>{{image.file_name | truncate}}</mat-card-title>
|
||||
<mat-card-subtitle>
|
||||
Uploaded {{ image.created | amTimeAgo }}
|
||||
</mat-card-subtitle>
|
||||
|
|
|
@ -18,7 +18,7 @@ import { UtilService } from 'src/app/util/util-module/util.service';
|
|||
styleUrls: ['./images.component.scss'],
|
||||
})
|
||||
export class ImagesComponent implements OnInit {
|
||||
private readonly logger: Logger = new Logger('ImagesComponent');
|
||||
private readonly logger: Logger = new Logger(ImagesComponent.name);
|
||||
|
||||
images: EImage[] | null = null;
|
||||
columns = 1;
|
||||
|
|
|
@ -7,6 +7,7 @@ import { MomentModule } from 'ngx-moment';
|
|||
import { MasonryModule } from 'src/app/components/masonry/masonry.module';
|
||||
import { PaginatorModule } from 'src/app/components/paginator/paginator.module';
|
||||
import { PicsurImgModule } from 'src/app/components/picsur-img/picsur-img.module';
|
||||
import { PipesModule } from 'src/app/pipes/pipes.module';
|
||||
import { ImagesComponent } from './images.component';
|
||||
import { ImagesRoutingModule } from './images.routing.module';
|
||||
|
||||
|
@ -22,6 +23,7 @@ import { ImagesRoutingModule } from './images.routing.module';
|
|||
PaginatorModule,
|
||||
PicsurImgModule,
|
||||
MomentModule,
|
||||
PipesModule
|
||||
],
|
||||
})
|
||||
export class ImagesRouteModule {}
|
||||
|
|
Loading…
Reference in a new issue