|
@@ -112,6 +112,13 @@ export class AddFooterComponent implements OnInit {
|
|
this.footer.link = responce['footer'].link;
|
|
this.footer.link = responce['footer'].link;
|
|
this.footer.status = responce['footer'].status;
|
|
this.footer.status = responce['footer'].status;
|
|
this.footer.type = responce['footer'].type;
|
|
this.footer.type = responce['footer'].type;
|
|
|
|
+ if(this.footer.type == '0') {
|
|
|
|
+ this.showDescriptionField = true;
|
|
|
|
+ this.showDescriptionField = false;
|
|
|
|
+ } else if(this.footer.type == '1' || this.footer.type == '2') {
|
|
|
|
+ this.showEmailField = true;
|
|
|
|
+ this.showDescriptionField = false;
|
|
|
|
+ }
|
|
this.footer.email = responce['footer'].email;
|
|
this.footer.email = responce['footer'].email;
|
|
this.footer.description = responce['footer'].description;
|
|
this.footer.description = responce['footer'].description;
|
|
this.footer.description_en = responce['footer'].description_en;
|
|
this.footer.description_en = responce['footer'].description_en;
|