Commit c6054c59 by kevin

Alerts are added:

parent 4b630947
...@@ -91,6 +91,7 @@ export class ProfilePage { ...@@ -91,6 +91,7 @@ export class ProfilePage {
this.formdata.append('id', JSON.stringify(this.local.id)); this.formdata.append('id', JSON.stringify(this.local.id));
this.myservice.fileUpload(this.formdata, 'update_user').subscribe(response => { this.myservice.fileUpload(this.formdata, 'update_user').subscribe(response => {
if (response.status == 'success') { if (response.status == 'success') {
this.myservice.show_alert('SUCCESS','YOUR PERSONAL DETAILS HAVE BEEN SUCCESSFULLY UPDATED')
this.local = response.data this.local = response.data
var This = this var This = this
setTimeout(() => { setTimeout(() => {
......
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
</ul> </ul>
{{(searches | search: searchText).length}} {{(searches | search: searchText).length}}
<div class="no_rslt" *ngIf="(searches | search: searchText).length === 0"> <div class="no_rslt" *ngIf="(searches | search: searchText).length === 0">
No Results Found sorry,No Results Found
</div> </div>
</div> </div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment