mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-09-17 14:21:29 +00:00
remove console log (#2422)
This commit is contained in:
@@ -391,7 +391,6 @@ export class FormComponent implements OnInit, OnChanges {
|
||||
form.outcomes = this.getFormDefinitionOutcomes(form);
|
||||
}
|
||||
if (this.fieldValidators && this.fieldValidators.length > 0) {
|
||||
console.log('Applying custom field validators');
|
||||
form.fieldValidators = this.fieldValidators;
|
||||
}
|
||||
return form;
|
||||
|
@@ -15,7 +15,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { Directive, EventEmitter, Input, OnChanges, OnInit, Output, SimpleChanges } from '@angular/core';
|
||||
import { Directive, EventEmitter, Input, OnChanges, Output, SimpleChanges } from '@angular/core';
|
||||
import { ContentService } from 'ng2-alfresco-core';
|
||||
import { TaskListService } from './../services/tasklist.service';
|
||||
|
||||
@@ -29,7 +29,7 @@ const PDF_FORMAT: string = 'pdf';
|
||||
'(click)': 'onClickAudit()'
|
||||
}
|
||||
})
|
||||
export class TaskAuditDirective implements OnInit, OnChanges {
|
||||
export class TaskAuditDirective implements OnChanges {
|
||||
|
||||
@Input('task-id')
|
||||
taskId: string;
|
||||
@@ -60,9 +60,6 @@ export class TaskAuditDirective implements OnInit, OnChanges {
|
||||
private taskListService: TaskListService) {
|
||||
}
|
||||
|
||||
ngOnInit() {
|
||||
console.log('OnInit');
|
||||
}
|
||||
ngOnChanges(changes: SimpleChanges): void {
|
||||
if (!this.isValidType()) {
|
||||
this.setDefaultFormatType();
|
||||
|
@@ -208,7 +208,6 @@ export class TaskDetailsComponent implements OnInit, OnChanges {
|
||||
}
|
||||
|
||||
private clickTaskDetails(clickNotification: ClickNotification) {
|
||||
console.log(clickNotification.target);
|
||||
if (clickNotification.target.key === 'assignee') {
|
||||
this.showAssignee = true;
|
||||
}
|
||||
@@ -346,7 +345,6 @@ export class TaskDetailsComponent implements OnInit, OnChanges {
|
||||
|
||||
onCloseSearch() {
|
||||
this.showAssignee = false;
|
||||
console.log(this.taskDetails.assignee);
|
||||
}
|
||||
|
||||
assignTaskToUser(selectedUser: User) {
|
||||
|
@@ -367,7 +367,6 @@ export class ViewerComponent implements OnDestroy, OnChanges {
|
||||
},
|
||||
error: (error) => {
|
||||
this.isLoading = false;
|
||||
console.log(error);
|
||||
}
|
||||
});
|
||||
} else {
|
||||
@@ -376,7 +375,6 @@ export class ViewerComponent implements OnDestroy, OnChanges {
|
||||
},
|
||||
(err) => {
|
||||
this.isLoading = false;
|
||||
console.log(err);
|
||||
}
|
||||
);
|
||||
}
|
||||
|
Reference in New Issue
Block a user