mirror of
https://github.com/kremalicious/umami.git
synced 2025-02-04 16:17:35 +01:00
Merge pull request #1531 from userdehghani/pr-blank-target
open update links in new tab
This commit is contained in:
commit
add7c5ebe9
@ -18,7 +18,7 @@ export default function UpdateNotice() {
|
|||||||
function handleViewClick() {
|
function handleViewClick() {
|
||||||
updateCheck();
|
updateCheck();
|
||||||
setDismissed(true);
|
setDismissed(true);
|
||||||
location.href = releaseUrl || REPO_URL;
|
open(releaseUrl || REPO_URL, '_blank');
|
||||||
}
|
}
|
||||||
|
|
||||||
function handleDismissClick() {
|
function handleDismissClick() {
|
||||||
|
Loading…
Reference in New Issue
Block a user