Add click handler

This commit is contained in:
Philipinho
2025-04-11 13:41:43 +01:00
parent 268001ae26
commit 49d0f1cc9a

View File

@ -35,6 +35,12 @@ export default function AppVersion() {
position="middle-end" position="middle-end"
style={{ cursor: "pointer" }} style={{ cursor: "pointer" }}
disabled={!hasUpdate} disabled={!hasUpdate}
onClick={() => {
window.open(
"https://github.com/docmost/docmost/releases",
"_blank",
);
}}
> >
<Text <Text
size="sm" size="sm"