delete all cinsole.log
parent
ed08235966
commit
6fed3e56b3
|
|
@ -23,7 +23,6 @@ export class AdministrateSitePagesComponent {
|
|||
let include = ['children.children','parent.children'];
|
||||
this.pagesService.root({include: include}).subscribe(res => {
|
||||
this.mainPage = res.data[0].parent.data;
|
||||
console.log('MAIN', this.mainPage);
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -12,10 +12,6 @@ export class PagesMenuComponent {
|
|||
|
||||
private hiddenPages = ['/o-tsentre/protivodeistvie-korruptsii', '/o-tsentre/zashchita-personalnykh-dannykh', '/o-tsentre/okhrana-truda'];
|
||||
|
||||
// ngOnInit(){
|
||||
// console.log(this.items)
|
||||
// }
|
||||
|
||||
|
||||
|
||||
get visibleItems() {
|
||||
|
|
|
|||
|
|
@ -110,14 +110,12 @@ export class PageComponent {
|
|||
}
|
||||
|
||||
itemSelect(event){
|
||||
console.log('EVENT',event)
|
||||
|
||||
}
|
||||
|
||||
removeBackground() {
|
||||
if (confirm('Вы деествительно хотите удалить этот фон?')) {
|
||||
this.pagesService.deleteBackground(this.page.id).subscribe(res => {
|
||||
//console.log(res);
|
||||
// this.listsService.refresh(this.listId, true);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -12,9 +12,6 @@ export class DocumentSectionComponent {
|
|||
) {
|
||||
}
|
||||
|
||||
ngOnInit() {
|
||||
// console.log(this.section);
|
||||
}
|
||||
|
||||
get title(){
|
||||
return this.section.groups.data[0].fields.data[1].title;
|
||||
|
|
|
|||
|
|
@ -14,11 +14,6 @@ export class ImageGroupSectionComponent {
|
|||
constructor(private formsService: FormsService) {
|
||||
}
|
||||
|
||||
ngOnInit() {
|
||||
// console.log(this.section);
|
||||
}
|
||||
|
||||
|
||||
get title() {
|
||||
return this.section?.groups?.data[0]?.fields?.data[0]?.value?.data[0];
|
||||
}
|
||||
|
|
|
|||
|
|
@ -33,7 +33,6 @@ export class MemberSectionListComponent {
|
|||
}
|
||||
})
|
||||
})
|
||||
console.log(fields['member-doc'].links.download);
|
||||
return fields
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -35,7 +35,6 @@ export class PagesTreeComponent {
|
|||
}
|
||||
|
||||
ngOnInit() {
|
||||
console.log('parent',this.parent)
|
||||
this.fetchSubpages()
|
||||
// if (!this.parent) this.subscription = this.listsService.controls(this.listId).subscribe(res => {
|
||||
// this.fetch();
|
||||
|
|
@ -76,10 +75,6 @@ export class PagesTreeComponent {
|
|||
|
||||
|
||||
move(event: any) {
|
||||
console.log('Move',event)
|
||||
console.log(parent)
|
||||
console.log(event.item.id)
|
||||
console.log({parent: this.parent?.id, ord: event.newIndex})
|
||||
if(this.parent?.id){
|
||||
this.pagesService.move(event.item.id, {parent: this.parent?.id, ord: event.newIndex}).subscribe(res => {
|
||||
});
|
||||
|
|
|
|||
|
|
@ -22,9 +22,6 @@ export class PublicationsListItemMenuComponent {
|
|||
return 'publications-list';
|
||||
}
|
||||
|
||||
ngOnInit() {
|
||||
//console.log(this.data);
|
||||
}
|
||||
|
||||
edit(id: string) {
|
||||
this.formsService.editModel(this.type, id, null, this.listId);
|
||||
|
|
|
|||
Loading…
Reference in New Issue