Skip to content

Commit 9494b93

Browse files
committed
Merge branch 'main' of github.com:l3vels/L3AGI
2 parents caff89a + c86e029 commit 9494b93

File tree

6 files changed

+22
-17
lines changed

6 files changed

+22
-17
lines changed

apps/server/poetry.lock

+13-9
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apps/server/pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ readme = "README.md"
88
[tool.poetry.dependencies]
99
python = "^3.11"
1010
openai = "0.27.9"
11-
langchain = "0.0.317"
11+
langchain = "0.0.325"
1212
fastapi = { version = "0.99.1", extras = ["all"] }
1313
requests = "2.31.0"
1414
pydantic = "1.10.11"

apps/ui/src/Route.tsx

+4-3
Original file line numberDiff line numberDiff line change
@@ -284,10 +284,7 @@ const Route = () => {
284284
element={<EditContactForm />}
285285
key={document.location.href}
286286
/>
287-
</Router>
288287

289-
<Router path={'groups'} element={<MainRouteLayout />} key={document.location.href}>
290-
<Router index element={<Group />} key={document.location.href} />
291288
<Router
292289
path={'create-group'}
293290
element={<CreateGroupForm />}
@@ -300,6 +297,10 @@ const Route = () => {
300297
/>
301298
</Router>
302299

300+
{/* <Router path={'groups'} element={<MainRouteLayout />} key={document.location.href}>
301+
<Router index element={<Group />} key={document.location.href} />
302+
</Router> */}
303+
303304
<Router path={'developers'} element={<DevelopersRouteLayout />}>
304305
<Router index element={<ApiKeys />} key={document.location.href} />
305306
<Router path={'logs'} element={<Log />} key={document.location.href} />

apps/ui/src/plugins/contact/pages/Group/Groups.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ const Groups = () => {
6363
/>
6464

6565
<IconButton
66-
onClick={() => navigate(`/groups/${cell.value}/edit-group`)}
66+
onClick={() => navigate(`/contacts/${cell.value}/edit-group`)}
6767
icon={() => <StyledEditIcon />}
6868
size={IconButton.sizes.SMALL}
6969
kind={IconButton.kinds.TERTIARY}
@@ -87,7 +87,7 @@ const Groups = () => {
8787
</StyledSectionDescription> */}
8888
</div>
8989
<div>
90-
<ButtonPrimary onClick={() => navigate('/groups/create-group')} size={'small'}>
90+
<ButtonPrimary onClick={() => navigate('/contacts/create-group')} size={'small'}>
9191
{t('add-group')}
9292
</ButtonPrimary>
9393
</div>

apps/ui/src/plugins/contact/pages/Group/useCreateGroup.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ export const useCreateGroup = () => {
4646
type: 'positive',
4747
open: true,
4848
})
49-
navigate('/groups')
49+
navigate('/contacts')
5050
} catch (e) {
5151
setToast({
5252
message: 'Failed To Add Group!',

apps/ui/src/plugins/contact/pages/Group/useEditGroup.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ export const useEditGroup = () => {
4545
type: 'positive',
4646
open: true,
4747
})
48-
navigate('/groups')
48+
navigate('/contacts')
4949
} catch (e) {
5050
setToast({
5151
message: 'Failed To Update Group!',

0 commit comments

Comments
 (0)