web/flows: fix expiry not shown on consent stage when loading
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
		| @ -15,7 +15,7 @@ export class ConsentStageForm extends ModelForm<ConsentStage, string> { | ||||
|         return new StagesApi(DEFAULT_CONFIG).stagesConsentRetrieve({ | ||||
|             stageUuid: pk, | ||||
|         }).then(stage => { | ||||
|             this.showExpiresIn = stage.name === ConsentStageModeEnum.Expiring; | ||||
|             this.showExpiresIn = stage.mode === ConsentStageModeEnum.Expiring; | ||||
|             return stage; | ||||
|         }); | ||||
|     } | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Jens Langhammer
					Jens Langhammer