better UX when logging in in electron

This commit is contained in:
SPRINX0\prochazka
2025-06-11 17:25:14 +02:00
parent d61792581a
commit c34f2d4da7

View File

@@ -3,7 +3,7 @@ import getElectron from './getElectron';
export function openWebLink(href, usePopup = false) {
const electron = getElectron();
if (electron) {
if (electron && !usePopup) {
electron.send('open-link', href);
} else {
if (usePopup) {