-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
95711aa
commit b772b5c
Showing
4 changed files
with
18 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
export function isUserUsingCrosscall () { | ||
const userAgent = window.navigator.userAgent | ||
const keyWords = ['Mobile', 'Mozilla', 'Crosscall'] | ||
|
||
const isUsingCrosscall = keyWords.every(keyWord => { | ||
return userAgent.includes(keyWord) | ||
}) | ||
return isUsingCrosscall | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,17 +25,17 @@ const LPS = { | |
}, | ||
PARIS: { | ||
email: '[email protected]', | ||
phone: '01 71 92 65 02', | ||
phone: '01 77 72 07 77', | ||
}, | ||
LYON: { | ||
email: '[email protected]', | ||
phone: '04 72 86 89 70', | ||
phone: '04 72 86 89 71', | ||
}, | ||
} | ||
const IRCGN = { | ||
email: 'snps-lps69@interieur.gouv.fr', | ||
phone: '04 72 86 89 70', | ||
email: 'x@interieur.gouv.fr', | ||
phone: 'x', | ||
} | ||
const shownLPS = ref<null | string>(null) | ||
const showIRCGNModal = ref(false) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters