This commit is contained in:
Peter Maquiran
2023-02-27 09:31:10 +01:00
parent 6e2669e52f
commit 4731b402df
87 changed files with 86 additions and 4253 deletions
@@ -255,7 +255,14 @@ export class NewPublicationPage implements OnInit {
try {
await this.publications.CreatePublication(this.folderId, this.publication).toPromise()
this.toastService._successMessage()
if(this.publicationTitle == '1') {
} else if (this.publicationTitle == '2') {
this.toastService._successMessage('Publicação criado')
} else if (this.publicationTitle == '3') {
this.toastService._successMessage('Publicação atualizada')
}
this.goBackToViewPublications.emit();
} catch (error) {
@@ -37,7 +37,7 @@
<img src="/assets/icon/icon-no-image.svg" alt="image">
</div>
<div class="post-description">
<p>{{publication.Message}}</p>
<pre class="text">{{publication.Message}}</pre>
</div>
</div>
</div>
@@ -50,7 +50,7 @@
<div class="post-data">{{publication.DatePublication | date: 'dd-MM-yy HH:mm'}}</div>
</div>
<div class="post-description">
<p>{{publication.Message}}</p>
<pre class="text">{{publication.Message}}</pre>
</div>
</div>
</ion-card-content>