craete user bug

This commit is contained in:
CHIEFSOFT\ameye
2023-08-23 09:09:34 -04:00
parent 84a0daac99
commit 44cc2c6ac3
2 changed files with 7 additions and 4 deletions
@@ -16,9 +16,11 @@
<ion-card-content>
<ion-grid>
<ion-row>
<!-- <ion-col> <ion-button size="small" color="success" expand="block">Redeem</ion-button></ion-col>-->
<!-- <ion-col></ion-col>-->
<!-- <ion-col><ion-button size="small" expand="block">Add Credit</ion-button></ion-col>-->
<ion-col> <ion-button size="small" color="success" expand="block">Redeem</ion-button></ion-col>
<ion-col></ion-col>
<ion-col>
<!-- <ion-button size="small" expand="block">Add Credit</ion-button>-->
</ion-col>
</ion-row>
</ion-grid>
</ion-card-content>
+2 -1
View File
@@ -22,9 +22,10 @@ export class WrenchService {
}
getPostData(reqPath:string, reqData): Observable<any> {
if (reqPath != 'userlogin'){
if (reqPath != 'userlogin'&& reqPath != 'createuser'){
const sessionId = this.sessionDataProviderService.session;
if (sessionId.length==0){
//debugger;
this.router.navigate(['login']);
}
}