fix: stop triming traling slashes (#1435)

fixes #777
This commit is contained in:
Henry Skrtich
2023-09-28 10:19:44 -07:00
committed by GitHub
parent a6c7fbc1ef
commit 4006c69f5b

View File

@@ -87,7 +87,7 @@ export const AppTile = ({ className, app }: AppTileProps) => {
) : (
<UnstyledButton
style={{ pointerEvents: isEditMode ? 'none' : 'auto' }}
component={Link}
component="a"
href={app.behaviour.externalUrl.length > 0 ? app.behaviour.externalUrl : app.url}
target={app.behaviour.isOpeningNewTab ? '_blank' : '_self'}
className={`${classes.button} ${classes.base}`}