+
{t('common.userProfile.workspace')}
@@ -66,6 +70,15 @@ const WorkplaceSelector = () => {
handleSwitchWorkspace(workspace.id)}>
{workspace.name[0].toLocaleUpperCase()}
{workspace.name}
+ {
+
+
+
+ {plan.type.toUpperCase()}
+
+
+
+ }
))
}
diff --git a/web/app/components/header/index.tsx b/web/app/components/header/index.tsx
index 8f41dee938..8d1eda8a78 100644
--- a/web/app/components/header/index.tsx
+++ b/web/app/components/header/index.tsx
@@ -4,7 +4,8 @@ import Link from 'next/link'
import { useBoolean } from 'ahooks'
import { useSelectedLayoutSegment } from 'next/navigation'
import { Bars3Icon } from '@heroicons/react/20/solid'
-import HeaderBillingBtn from '../billing/header-billing-btn'
+import { SparklesSoft } from '@/app/components/base/icons/src/public/common'
+import PremiumBadge from '../base/premium-badge'
import AccountDropdown from './account-dropdown'
import AppNav from './app-nav'
import DatasetNav from './dataset-nav'
@@ -69,7 +70,14 @@ const Header = () => {
{enableBilling && (
-
+
+
+
+
+ Upgrade
+
+
+
)}
@@ -84,7 +92,10 @@ const Header = () => {
/
{enableBilling && (
)}
diff --git a/web/app/components/plugins/install-plugin/install-from-github/steps/selectPackage.tsx b/web/app/components/plugins/install-plugin/install-from-github/steps/selectPackage.tsx
index 9b83c39867..47a5d86498 100644
--- a/web/app/components/plugins/install-plugin/install-from-github/steps/selectPackage.tsx
+++ b/web/app/components/plugins/install-plugin/install-from-github/steps/selectPackage.tsx
@@ -48,7 +48,6 @@ const SelectPackage: React.FC
= ({
const handleUploadPackage = async () => {
if (isUploading) return
setIsUploading(true)
-
try {
const repo = repoUrl.replace('https://github.com/', '')
await handleUpload(repo, selectedVersion, selectedPackage, (GitHubPackage) => {