mirror of
https://github.com/ajnart/homarr.git
synced 2025-11-10 15:35:55 +01:00
🚨 Fix build errors
This commit is contained in:
@@ -49,7 +49,7 @@ export const AppTile = ({ className, app }: AppTileProps) => {
|
|||||||
<UnstyledButton
|
<UnstyledButton
|
||||||
style={{ pointerEvents: isEditMode ? 'none' : 'auto' }}
|
style={{ pointerEvents: isEditMode ? 'none' : 'auto' }}
|
||||||
component={NextLink}
|
component={NextLink}
|
||||||
href={app.behaviour.externalUrl ?? app.url}
|
href={app.behaviour.externalUrl.length > 0 ? app.behaviour.externalUrl : app.url}
|
||||||
target={app.behaviour.isOpeningNewTab ? '_blank' : '_self'}
|
target={app.behaviour.isOpeningNewTab ? '_blank' : '_self'}
|
||||||
className={cx(classes.button, classes.link)}
|
className={cx(classes.button, classes.link)}
|
||||||
>
|
>
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ export type ConfigAppType = Omit<AppType, 'integration'> & {
|
|||||||
};
|
};
|
||||||
|
|
||||||
interface AppBehaviourType {
|
interface AppBehaviourType {
|
||||||
externalUrl?: string;
|
externalUrl: string;
|
||||||
isOpeningNewTab: boolean;
|
isOpeningNewTab: boolean;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user