🐛 fix(ui): Improve dashboard layout and enhance button functionality; open checkout URLs in a new tab

This commit is contained in:
web@ppanel
2025-03-10 18:32:07 +07:00
parent 136a1abd8b
commit fc0da761b5
5 changed files with 37 additions and 14 deletions
@@ -60,7 +60,7 @@ export default function Page() {
returnUrl: window.location.href,
});
if (data.data?.type === 'url' && data.data?.checkout_url) {
window.location.href = data.data?.checkout_url;
window.open(data.data.checkout_url, '_blank');
}
return data?.data;
},