mirror of
https://github.com/OpenSignLabs/OpenSign.git
synced 2026-08-29 11:19:41 +02:00
fix: change upgrade button redirect ul, disable documentId issue
This commit is contained in:
@@ -292,11 +292,11 @@ function UserProfile() {
|
||||
</span>{" "}
|
||||
<label
|
||||
className={
|
||||
!isSubscribe || isEnableSubscription
|
||||
? "relative inline-flex items-center mb-0 pointer-events-none opacity-50"
|
||||
: `${
|
||||
isSubscribe || !isEnableSubscription
|
||||
? `${
|
||||
editmode ? "cursor-pointer" : ""
|
||||
} relative inline-flex items-center mb-0`
|
||||
: "relative inline-flex items-center mb-0 pointer-events-none opacity-50"
|
||||
}
|
||||
>
|
||||
<input
|
||||
|
||||
@@ -1,16 +1,17 @@
|
||||
import React from "react";
|
||||
import { useNavigate } from "react-router-dom";
|
||||
|
||||
function Upgrade() {
|
||||
const navigation = useNavigate();
|
||||
|
||||
return (
|
||||
<sup>
|
||||
<a
|
||||
href="https://www.opensignlabs.com/plans-pricing"
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
className="text-blue-800 text-sm cursor-pointer "
|
||||
<span
|
||||
onClick={() => navigation("/subscription")}
|
||||
className="text-blue-800 text-sm cursor-pointer hover:underline"
|
||||
>
|
||||
Upgrade now
|
||||
</a>
|
||||
</span>
|
||||
</sup>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user