added saving the location on the main page when adding a profile via deeplink, profile update button on the main page, corrected url for telegram icon for support, and announcement-url header support.

This commit is contained in:
coolcoala
2025-07-18 04:17:18 +03:00
parent 31d368979e
commit 8bc7a6c3e1
2 changed files with 126 additions and 45 deletions

View File

@@ -50,11 +50,11 @@ const handleNoticeMessage = (
switch (status) {
case "import_sub_url::ok":
mutate("getProfiles");
navigate("/profile", { state: { current: msg } });
navigate("/", { state: { activateProfile: msg } });
showNotice("success", t("Import Subscription Successful"));
window.dispatchEvent(new CustomEvent('activate-profile', { detail: msg }));
break;
case "import_sub_url::error":
navigate("/profile");
showNotice("error", msg);
break;
case "set_config::error":