|
|
|
@ -29,7 +29,7 @@ export default builtin => {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
*
|
|
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
if (props.href?.startsWith('#')) {
|
|
|
|
|
props.onClick = evt => {
|
|
|
|
@ -62,7 +62,7 @@ export default builtin => {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Force Vizality route links open within the app.
|
|
|
|
|
* Force Vizality route links to open within the app.
|
|
|
|
|
*/
|
|
|
|
|
if (vizalityRegex.test(props.href)) {
|
|
|
|
|
const route = props.href?.replace(discordRegex, '');
|
|
|
|
@ -77,7 +77,7 @@ export default builtin => {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Force Vizality protocol links open within the app.
|
|
|
|
|
* Force Vizality protocol links to open within the app.
|
|
|
|
|
*/
|
|
|
|
|
if (vizalityProtocolRegex.test(props.href)) {
|
|
|
|
|
const route = props.href?.replace(vizalityProtocolRegex, '');
|
|
|
|
@ -92,7 +92,7 @@ export default builtin => {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
|
* Force user links open in user profile modals within the app.
|
|
|
|
|
* Force user links to open in user profile modals within the app.
|
|
|
|
|
*/
|
|
|
|
|
if (userRegex.test(props.href)) {
|
|
|
|
|
const userId = props.href?.replace(userRegex, '');
|
|
|
|
|