Small fix to geolocation permission flow
This commit is contained in:
parent
bd5e9903bd
commit
805d8d5fff
1 changed files with 3 additions and 1 deletions
|
@ -115,7 +115,9 @@ export class GeoLocationState {
|
|||
this.permission.setData("denied")
|
||||
return
|
||||
}
|
||||
if (this.permission.data !== "prompt") {
|
||||
if (this.permission.data !== "prompt" && this.permission.data !== "requested") {
|
||||
// If the user denies the first prompt, revokes the deny and then tries again, we have to run the flow as well
|
||||
// Hence that we continue the flow if it is "requested"
|
||||
return
|
||||
}
|
||||
this.requestMoment.setData(new Date())
|
||||
|
|
Loading…
Reference in a new issue