Rename "Organizations" to "Customers" across the application

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 9111ef36-26c8-4085-84ca-a35dc1fec1b5
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/7083d608-d6d3-4a6a-9a27-6286c5109627/c8840127-37a9-49ac-8f8c-b37ce5fdd14a.jpg
This commit is contained in:
alphaeusmote
2025-04-11 21:10:51 +00:00
parent 3e487dd09b
commit b00ed5a682
3 changed files with 45 additions and 37 deletions
@@ -1,6 +1,6 @@
import { Link, useLocation } from "wouter";
import { cn } from "@/lib/utils";
import { OrganizationSelector } from "@/components/shared/organization-selector";
import { CustomerSelector } from "@/components/shared/customer-selector";
import { useAuth } from "@/hooks/use-auth";
import {
LayoutDashboard,
@@ -139,9 +139,9 @@ export function MobileSidebar({ isOpen, onClose }: MobileSidebarProps) {
</button>
</div>
{/* Organization Selector */}
{/* Customer Selector */}
<div className="px-4 py-2">
<OrganizationSelector />
<CustomerSelector />
</div>
<nav className="flex-1 py-4 px-2 space-y-1 overflow-y-auto">
+5 -5
View File
@@ -1,7 +1,7 @@
import { Link, useLocation } from "wouter";
import { cn } from "@/lib/utils";
import { ThemeToggle } from "@/components/shared/theme-toggle";
import { OrganizationSelector } from "@/components/shared/organization-selector";
import { CustomerSelector } from "@/components/shared/customer-selector";
import { useAuth } from "@/hooks/use-auth";
import {
LayoutDashboard,
@@ -33,8 +33,8 @@ export function Sidebar() {
icon: <LayoutDashboard className="w-5 h-5 mr-3" />,
},
{
title: "Organizations",
href: "/organizations",
title: "Customers",
href: "/customers",
icon: <Users className="w-5 h-5 mr-3" />,
},
{
@@ -124,9 +124,9 @@ export function Sidebar() {
</div>
</div>
{/* Organization Selector */}
{/* Customer Selector */}
<div className="px-4 py-2">
<OrganizationSelector />
<CustomerSelector />
</div>
<nav className="flex-1 py-4 px-2 space-y-1 overflow-y-auto">