File tree 6 files changed +22
-17
lines changed
plugins/contact/pages/Group
6 files changed +22
-17
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ readme = "README.md"
8
8
[tool .poetry .dependencies ]
9
9
python = " ^3.11"
10
10
openai = " 0.27.9"
11
- langchain = " 0.0.317 "
11
+ langchain = " 0.0.325 "
12
12
fastapi = { version = " 0.99.1" , extras = [" all" ] }
13
13
requests = " 2.31.0"
14
14
pydantic = " 1.10.11"
Original file line number Diff line number Diff line change @@ -284,10 +284,7 @@ const Route = () => {
284
284
element = { < EditContactForm /> }
285
285
key = { document . location . href }
286
286
/>
287
- </ Router >
288
287
289
- < Router path = { 'groups' } element = { < MainRouteLayout /> } key = { document . location . href } >
290
- < Router index element = { < Group /> } key = { document . location . href } />
291
288
< Router
292
289
path = { 'create-group' }
293
290
element = { < CreateGroupForm /> }
@@ -300,6 +297,10 @@ const Route = () => {
300
297
/>
301
298
</ Router >
302
299
300
+ { /* <Router path={'groups'} element={<MainRouteLayout />} key={document.location.href}>
301
+ <Router index element={<Group />} key={document.location.href} />
302
+ </Router> */ }
303
+
303
304
< Router path = { 'developers' } element = { < DevelopersRouteLayout /> } >
304
305
< Router index element = { < ApiKeys /> } key = { document . location . href } />
305
306
< Router path = { 'logs' } element = { < Log /> } key = { document . location . href } />
Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ const Groups = () => {
63
63
/>
64
64
65
65
< IconButton
66
- onClick = { ( ) => navigate ( `/groups /${ cell . value } /edit-group` ) }
66
+ onClick = { ( ) => navigate ( `/contacts /${ cell . value } /edit-group` ) }
67
67
icon = { ( ) => < StyledEditIcon /> }
68
68
size = { IconButton . sizes . SMALL }
69
69
kind = { IconButton . kinds . TERTIARY }
@@ -87,7 +87,7 @@ const Groups = () => {
87
87
</StyledSectionDescription> */ }
88
88
</ div >
89
89
< div >
90
- < ButtonPrimary onClick = { ( ) => navigate ( '/groups /create-group' ) } size = { 'small' } >
90
+ < ButtonPrimary onClick = { ( ) => navigate ( '/contacts /create-group' ) } size = { 'small' } >
91
91
{ t ( 'add-group' ) }
92
92
</ ButtonPrimary >
93
93
</ div >
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ export const useCreateGroup = () => {
46
46
type : 'positive' ,
47
47
open : true ,
48
48
} )
49
- navigate ( '/groups ' )
49
+ navigate ( '/contacts ' )
50
50
} catch ( e ) {
51
51
setToast ( {
52
52
message : 'Failed To Add Group!' ,
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ export const useEditGroup = () => {
45
45
type : 'positive' ,
46
46
open : true ,
47
47
} )
48
- navigate ( '/groups ' )
48
+ navigate ( '/contacts ' )
49
49
} catch ( e ) {
50
50
setToast ( {
51
51
message : 'Failed To Update Group!' ,
You can’t perform that action at this time.
0 commit comments