update warehouse
This commit is contained in:
parent
3862aa4e22
commit
5a727a9722
@ -2,7 +2,7 @@ import { useSiteContext } from '@context/SiteContext'
|
||||
import useAuth from '@hooks/useAuth'
|
||||
import useLanguage from '@hooks/useLanguage'
|
||||
import { A } from '@solidjs/router'
|
||||
import { IconDashboard, IconLogout, IconTriangle } from '@tabler/icons-solidjs'
|
||||
import { IconDashboard, IconLocation, IconLogout, IconTriangle } from '@tabler/icons-solidjs'
|
||||
import { For, Show, mergeProps } from 'solid-js'
|
||||
import { Dynamic } from 'solid-js/web'
|
||||
import './navbar.scss'
|
||||
@ -17,42 +17,10 @@ export const NAV_ITEM = (admin = false) => [
|
||||
text: language?.ui.dashboard,
|
||||
},
|
||||
{
|
||||
path: '/location',
|
||||
show: true,
|
||||
icon: IconTriangle,
|
||||
text: 'API',
|
||||
children: [
|
||||
{
|
||||
show: true,
|
||||
icon: IconDashboard,
|
||||
text: 'Test',
|
||||
children: [
|
||||
{
|
||||
path: '/dashboard',
|
||||
show: true,
|
||||
icon: IconDashboard,
|
||||
text: language?.ui.dashboard,
|
||||
},
|
||||
{
|
||||
path: '/test',
|
||||
show: true,
|
||||
icon: IconDashboard,
|
||||
text: 'Test',
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
path: '/api',
|
||||
show: true,
|
||||
icon: IconDashboard,
|
||||
text: 'Get',
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
path: '/ware-house',
|
||||
show: true,
|
||||
icon: IconDashboard,
|
||||
text: language?.ui.houses,
|
||||
icon: IconLocation,
|
||||
text: language?.ui.location,
|
||||
},
|
||||
]
|
||||
|
||||
|
@ -6,7 +6,7 @@
|
||||
"logout": "Đăng xuất",
|
||||
"dashboard": "Bảng điều khiển",
|
||||
"profile": "Hồ sơ",
|
||||
"changeInfo": "Đổi thông tin",
|
||||
"changeInfo": "Thông tin tài khoản",
|
||||
"save": "Lưu",
|
||||
"clear": "Xóa",
|
||||
"houses": "Kho",
|
||||
|
@ -3,7 +3,7 @@ import TextInput from '@components/common/TextInput'
|
||||
import { useSiteContext } from '@context/SiteContext'
|
||||
import useLanguage from '@hooks/useLanguage'
|
||||
import useToast from '@hooks/useToast'
|
||||
import { IconKey, IconLetterN, IconUserCircle } from '@tabler/icons-solidjs'
|
||||
import { IconKey, IconUser, IconUserCircle } from '@tabler/icons-solidjs'
|
||||
import { Helpers } from '@utils/helper'
|
||||
import { useFormHandler } from 'solid-form-handler'
|
||||
import { yupSchema } from 'solid-form-handler/yup'
|
||||
@ -82,7 +82,7 @@ export default function Profile() {
|
||||
<p class="card-title">{language.ui.changeInfo}</p>
|
||||
<div class="form-content py-5">
|
||||
<TextInput
|
||||
icon={IconLetterN}
|
||||
icon={IconUser}
|
||||
name="name"
|
||||
placeholder={language.ui.displayName}
|
||||
formHandler={formHandler}
|
||||
|
Loading…
x
Reference in New Issue
Block a user