mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
save
This commit is contained in:
@@ -155,7 +155,7 @@ export class NewPublicationPage implements OnInit {
|
||||
});
|
||||
|
||||
|
||||
async laodPicture() {
|
||||
/* async laodPicture() {
|
||||
const capturedImage = await Camera.getPhoto({
|
||||
resultType: CameraResultType.Uri,
|
||||
source: CameraSource.Photos,
|
||||
@@ -174,9 +174,9 @@ export class NewPublicationPage implements OnInit {
|
||||
|
||||
this.capturedImage = await this.convertBlobToBase64(blob);
|
||||
this.capturedImageTitle = new Date().getTime() + '.jpeg';
|
||||
}
|
||||
} */
|
||||
|
||||
/* laodPicture() {
|
||||
laodPicture() {
|
||||
const input = this.fileLoaderService.createInput({
|
||||
accept: ['image/apng', 'image/jpeg', 'image/png']
|
||||
})
|
||||
@@ -191,7 +191,7 @@ export class NewPublicationPage implements OnInit {
|
||||
console.log(this.capturedImage)
|
||||
};
|
||||
|
||||
} */
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -40,7 +40,6 @@
|
||||
</ion-refresher>
|
||||
<div class="main-container px-20">
|
||||
<ion-list>
|
||||
<!-- [routerLink]="['/home/publications/view-publications/publication-detail', publication.publicationId]" -->
|
||||
<div class="post-item d-md-block mb-10 cursor-pointer"
|
||||
*ngFor="let publication of publicationListStorage.documents[folderId]"
|
||||
(click)="viewPublicationDetail(publication.DocumentId)">
|
||||
|
||||
@@ -102,9 +102,8 @@ export class ViewPublicationsPage implements OnInit {
|
||||
getPublications() {
|
||||
this.showLoader = true;
|
||||
const folderId = this.folderId
|
||||
this.publications.GetPublications(folderId).subscribe(res=> {
|
||||
|
||||
this.publicationList = new Array();
|
||||
this.publications.GetPublications(folderId).subscribe(res=> {
|
||||
|
||||
res.forEach(element => {
|
||||
let item: Publication = this.publicationPipe.itemList(element)
|
||||
|
||||
Reference in New Issue
Block a user