diff --git a/webview-ui/src/components/account/AccountView.tsx b/webview-ui/src/components/account/AccountView.tsx index 414e6acb..9c05c594 100644 --- a/webview-ui/src/components/account/AccountView.tsx +++ b/webview-ui/src/components/account/AccountView.tsx @@ -52,6 +52,10 @@ export const ClineAccountView = () => { const [usageData, setUsageData] = useState([]) const [paymentsData, setPaymentsData] = useState([]) + const dashboardAddCreditsURL = activeOrganization + ? "https://app.cline.bot/dashboard/organization?tab=credits&redirect=true" + : "https://app.cline.bot/dashboard/account?tab=credits&redirect=true" + async function getUserCredits() { setIsLoading(true) try { @@ -204,8 +208,7 @@ export const ClineAccountView = () => {
- {/* TODO: Update to get url for dashboard from EXT */} - + Dashboard
@@ -237,8 +240,7 @@ export const ClineAccountView = () => {
- {/* TODO: Update to get url for dashboard from EXT */} - + Add Credits
diff --git a/webview-ui/src/components/chat/CreditLimitError.tsx b/webview-ui/src/components/chat/CreditLimitError.tsx index ea59d7ef..9500d28d 100644 --- a/webview-ui/src/components/chat/CreditLimitError.tsx +++ b/webview-ui/src/components/chat/CreditLimitError.tsx @@ -30,7 +30,7 @@ const CreditLimitError: React.FC = ({ currentBalance, tot