Skip to content

Commit

Permalink
fix: enable subscriptions option in navbar (#373)
Browse files Browse the repository at this point in the history
* fix: enable subscription in navbar

* fix: enable subscription in navbar visor
  • Loading branch information
paulclindo authored Jul 18, 2024
1 parent b95e7e6 commit a81a21e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 17 deletions.
3 changes: 0 additions & 3 deletions apps/shinkai-desktop/src/pages/layout/main-layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ import { toast } from 'sonner';
import { ResourcesBanner } from '../../components/hardware-capabilities/resources-banner';
import { UpdateBanner } from '../../components/hardware-capabilities/update-banner';
import OnboardingStepper from '../../components/onboarding/onboarding';
import config from '../../config';
import { useAuth } from '../../store/auth';
import { useSettings } from '../../store/settings';

Expand Down Expand Up @@ -267,13 +266,11 @@ export function MainNav() {
title: t('layout.menuItems.subscriptions'),
href: '/public-subscriptions',
icon: <BrowseSubscriptionIcon className="h-5 w-5" />,
disabled: config.isProduction,
},
{
title: t('layout.menuItems.mySubscriptions'),
href: '/my-subscriptions',
icon: <MySubscriptionsIcon className="h-5 w-5" />,
disabled: config.isProduction,
},
optInExperimental && {
title: t('layout.menuItems.workflowPlayground'),
Expand Down
14 changes: 0 additions & 14 deletions apps/shinkai-visor/src/components/nav/nav.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -557,35 +557,21 @@ export default function NavBar() {
<DropdownMenuSeparator className="bg-gray-200" />
<DropdownMenuItem
className="py-0.5"
disabled={true}
onClick={() => onClickMenuOption(MenuOption.PublicItems)}
>
<BrowseSubscriptionIcon className="mr-2 h-4 w-4" />
<span className="mr-3">
{t('layout.menuItems.subscriptions')}
</span>
<Badge
className="text-[10px] uppercase"
variant="inputAdornment"
>
{t('common.soon')}
</Badge>
</DropdownMenuItem>
<DropdownMenuItem
className="py-0.5"
disabled={true}
onClick={() => onClickMenuOption(MenuOption.MySubscriptions)}
>
<MySubscriptionsIcon className="mr-2 h-4 w-4" />
<span className="mr-3">
{t('layout.menuItems.mySubscriptions')}
</span>
<Badge
className="text-[10px] uppercase"
variant="inputAdornment"
>
{t('common.soon')}
</Badge>
</DropdownMenuItem>

<DropdownMenuSeparator className="bg-gray-200" />
Expand Down

0 comments on commit a81a21e

Please sign in to comment.