"resizeReviewed"

This commit is contained in:
ivan gomes
2021-11-30 09:24:34 +01:00
parent a5ae227f40
commit 2504a6351e
2 changed files with 3 additions and 2 deletions
@@ -24,7 +24,7 @@
<div class="post-item overflow-y-auto">
<div *ngIf="publication.FileBase64.length > 30" class="post-img">
<img src="{{publication.FileBase64}}" alt="image" tappable (click)="openPreview(publication.FileBase64)">
<img src="{{publication.FileBase64}}" alt="image" >
</div>
<div *ngIf="publication.FileBase64.length < 30" class="post-img">
<img src="/assets/icon/icon-no-image.svg" alt="image">
+2 -1
View File
@@ -99,7 +99,7 @@ export class PublicationsService {
}
// this one too,goes to observable as a first api call
GetIdsPublicationsImages(id:any){
GetIdsPublicationsImages(id:any) {
const geturl = environment.apiURL + 'presidentialActions/'+ id +'/posts/ids';
let params = new HttpParams();
@@ -111,6 +111,7 @@ export class PublicationsService {
};
return this.http.get<number[]>(`${geturl}`, options)
}
GetPublicationById( publicationId:any){
const geturl = environment.apiURL + 'presidentialActions/posts/'+ publicationId;