aboutsummaryrefslogtreecommitdiff
path: root/frontend/src/app/_pages/profile/profile.component.ts
diff options
context:
space:
mode:
authorSonja Galovic <galovicsonja@gmail.com>2022-04-13 22:43:52 +0200
committerSonja Galovic <galovicsonja@gmail.com>2022-04-13 22:43:52 +0200
commit3c4bfb16f55aa51a50ee99327caca639e072cdab (patch)
tree7673a7acbbb3f0839cab7647792a9651b42f034a /frontend/src/app/_pages/profile/profile.component.ts
parentd1276f066c75ce7b720ec7936d7018f98f5e7ea5 (diff)
Kod preprocesiranja i tretiranja null vrednosti korisnik vidi koliko ima null redova/kolona od ukupnog broja redova/kolona. Obrisani console.log-ovi po frontu.
Diffstat (limited to 'frontend/src/app/_pages/profile/profile.component.ts')
-rw-r--r--frontend/src/app/_pages/profile/profile.component.ts3
1 files changed, 0 insertions, 3 deletions
diff --git a/frontend/src/app/_pages/profile/profile.component.ts b/frontend/src/app/_pages/profile/profile.component.ts
index d055fad3..ae9fb12c 100644
--- a/frontend/src/app/_pages/profile/profile.component.ts
+++ b/frontend/src/app/_pages/profile/profile.component.ts
@@ -67,7 +67,6 @@ export class ProfileComponent implements OnInit {
break;
}
}
- console.log(this.user);
});
}
@@ -96,7 +95,6 @@ export class ProfileComponent implements OnInit {
}
shared.openDialog("Obaveštenje", "Podaci su uspešno promenjeni.");
this.user = editedUser;
- console.log(this.user);
this.resetInfo();
}, (error: any) =>{
if (error.error == "Username already exists!") {
@@ -134,7 +132,6 @@ export class ProfileComponent implements OnInit {
this.authService.logOut();
this.router.navigate(['']);
}, (error: any) => {
- console.log("error poruka: ", error.error);
if (error.error == 'Wrong old password!') {
this.wrongPassBool = true;
//(<HTMLSelectElement>document.getElementById("inputPassword")).focus();