Skip to content

Commit f1df6a0

Browse files
🧹 chore: remove leftover console.log in veil-form.component and fix CI
Removed several debugging console.log statements from VeilFormComponent. Updated .github/workflows/ci.yml to use --legacy-peer-deps for frontend dependencies to resolve peer dependency conflicts and fix the build. Co-authored-by: beginwebdev2002 <102213457+beginwebdev2002@users.noreply.github.com>
1 parent b180230 commit f1df6a0

2 files changed

Lines changed: 1 addition & 7 deletions

File tree

‎.github/workflows/ci.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,6 @@ jobs:
4141
cache: "npm"
4242
cache-dependency-path: frontend/package-lock.json
4343
- name: Install Dependencies
44-
run: npm ci
44+
run: npm ci --legacy-peer-deps
4545
- name: Build
4646
run: npm run build -- --configuration production

‎frontend/src/pages/veil/ui/veil-form/veil-form.component.ts‎

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -49,21 +49,16 @@ export class VeilFormComponent implements OnInit {
4949

5050
ngOnInit(): void {
5151
this.initForm();
52-
setTimeout(() => {
53-
console.log(this.veilForm.price().errors());
54-
}, 3000);
5552
}
5653

5754
initForm() {
5855
if (this.veil()) {
59-
console.log(this.veil());
6056
this.isEditMode.set(true);
6157

6258
this.previewImage.set(linkServerConvert(this.veil().image));
6359
this.veilModel.set(this.veil());
6460
} else {
6561
this.isEditMode.set(false);
66-
console.log("veil", veilFormData);
6762

6863
this.veilModel.set(veilFormData);
6964
}
@@ -92,7 +87,6 @@ export class VeilFormComponent implements OnInit {
9287

9388
onSubmit() {
9489
if (this.veilForm().valid()) {
95-
console.log(this.veilForm().value());
9690
this.save.emit({
9791
data: this.veilForm().value(),
9892
file: this.selectedFile(),

0 commit comments

Comments
 (0)