File tree Expand file tree Collapse file tree 4 files changed +20
-16
lines changed
Expand file tree Collapse file tree 4 files changed +20
-16
lines changed Original file line number Diff line number Diff line change 22< html lang ="en ">
33 < head >
44 < meta charset ="UTF-8 " />
5- < link rel ="icon " type ="image/png " href ="/assets/images/ evolution-logo.png " />
5+ < link rel ="icon " type ="image/png " href ="https:// evolution-api.com/files/evo/favicon.svg " />
66 < meta name ="viewport " content ="width=device-width, initial-scale=1.0 " />
77 < title > Evolution Manager</ title >
88 </ head >
Original file line number Diff line number Diff line change @@ -16,10 +16,12 @@ import {
1616 DialogFooter ,
1717 DialogHeader ,
1818} from "./ui/dialog" ;
19+ import { useTheme } from "./theme-provider" ;
1920
2021function Header ( { instanceId } : { instanceId ?: string } ) {
2122 const [ logoutConfirmation , setLogoutConfirmation ] = useState ( false ) ;
2223 const navigate = useNavigate ( ) ;
24+ const { theme } = useTheme ( ) ;
2325
2426 const handleClose = ( ) => {
2527 logout ( ) ;
@@ -40,11 +42,14 @@ function Header({ instanceId }: { instanceId?: string }) {
4042 className = "flex h-8 items-center gap-4"
4143 >
4244 < img
43- src = "/assets/images/evolution-logo.png"
45+ src = {
46+ theme === "dark"
47+ ? "https://evolution-api.com/files/evo/evolution-logo-white.svg"
48+ : "https://evolution-api.com/files/evo/evolution-logo.svg"
49+ }
4450 alt = "Logo"
4551 className = "h-full"
4652 />
47- < span > Evolution Manager</ span >
4853 </ Link >
4954 < div className = "flex items-center gap-4" >
5055 { instanceId && (
Original file line number Diff line number Diff line change @@ -83,6 +83,16 @@ function Sidebar() {
8383 title : t ( "sidebar.integrations" ) ,
8484 icon : Zap ,
8585 children : [
86+ {
87+ id : "evoai" ,
88+ title : t ( "sidebar.evoai" ) ,
89+ path : "evoai" ,
90+ } ,
91+ {
92+ id : "n8n" ,
93+ title : t ( "sidebar.n8n" ) ,
94+ path : "n8n" ,
95+ } ,
8696 {
8797 id : "evolutionBot" ,
8898 title : t ( "sidebar.evolutionBot" ) ,
@@ -113,16 +123,6 @@ function Sidebar() {
113123 title : t ( "sidebar.flowise" ) ,
114124 path : "flowise" ,
115125 } ,
116- {
117- id : "n8n" ,
118- title : t ( "sidebar.n8n" ) ,
119- path : "n8n" ,
120- } ,
121- {
122- id : "evoai" ,
123- title : t ( "sidebar.evoai" ) ,
124- path : "evoai" ,
125- } ,
126126 ] ,
127127 } ,
128128 {
Original file line number Diff line number Diff line change @@ -39,9 +39,8 @@ function NewEvoai({ resetTable }: { resetTable: () => void }) {
3939 const evoaiData : Evoai = {
4040 enabled : data . enabled ,
4141 description : data . description ,
42- webhookUrl : data . webhookUrl ,
43- basicAuthUser : data . basicAuthUser ,
44- basicAuthPass : data . basicAuthPass ,
42+ agentUrl : data . agentUrl ,
43+ apiKey : data . apiKey ,
4544 triggerType : data . triggerType ,
4645 triggerOperator : data . triggerOperator || "" ,
4746 triggerValue : data . triggerValue || "" ,
You can’t perform that action at this time.
0 commit comments