Add click handler
This commit is contained in:
parent
268001ae26
commit
49d0f1cc9a
1 changed files with 6 additions and 0 deletions
|
|
@ -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"
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue