craete user bug
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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']);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user