forked from prehistoric-systems/chatpad
open feedback link in browser
This commit is contained in:
parent
857f2bd252
commit
ee5dd3abd7
1 changed files with 8 additions and 0 deletions
|
|
@ -205,6 +205,14 @@ export function Layout() {
|
|||
<ActionIcon
|
||||
component="a"
|
||||
href="https://feedback.chatpad.ai"
|
||||
onClick={(event) => {
|
||||
if (window.todesktop) {
|
||||
event.preventDefault();
|
||||
window.todesktop.contents.openUrlInBrowser(
|
||||
"https://feedback.chatpad.ai"
|
||||
);
|
||||
}
|
||||
}}
|
||||
target="_blank"
|
||||
sx={{ flex: 1 }}
|
||||
size="xl"
|
||||
|
|
|
|||
Loading…
Reference in a new issue