Make it easier to switch between subscription plans

This commit is contained in:
Pixeldrain-Server committed 2024-02-22 17:20:41 +01:00
1 parent 5c9c66746a
commit 20610204e5
5 files changed
+227 -111

No files matched your search

+1 -1
View File
@@ -140,7 +140,7 @@ onMount(() => {
// Parse the results saved in the URL, if any
if (window.location.hash[0] === "#") {
const hash = window.location.hash.replace("#", "");
const result = hash.replace("#", "").split('&').reduce((res, item) => {
const result = hash.split('&').reduce((res, item) => {
const parts = item.split('=')
const n = Number(parts[1])
if (n !== NaN) {