Hide version in cloud

This commit is contained in:
Philipinho 2025-03-06 14:17:20 +00:00
parent b81c9ee10c
commit a7dd9b9198

View File

@ -201,17 +201,19 @@ export default function SettingsSidebar() {
</Group>
<ScrollArea w="100%">{menuItems}</ScrollArea>
<div className={classes.text}>
<Text
size="sm"
c="dimmed"
component="a"
href="https://github.com/docmost/docmost/releases"
target="_blank"
>
v{APP_VERSION}
</Text>
</div>
{!isCloud() && (
<div className={classes.text}>
<Text
size="sm"
c="dimmed"
component="a"
href="https://github.com/docmost/docmost/releases"
target="_blank"
>
v{APP_VERSION}
</Text>
</div>
)}
{isCloud() && (
<div className={classes.text}>