Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mySkill-x
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
angular
mySkill-x
Commits
9b9632bc
Commit
9b9632bc
authored
May 30, 2025
by
Nattana Chaiyamat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
เปลี่ยนชื่อเมนู
parent
df8f225d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
sidebar.component.ts
src/app/shared/components/sidebar/sidebar.component.ts
+4
-4
navservice.ts
src/app/shared/services/navservice.ts
+1
-1
house_3781618.png
src/assets/img/icons-menu/house_3781618.png
+0
-0
No files found.
src/app/shared/components/sidebar/sidebar.component.ts
View file @
9b9632bc
...
...
@@ -118,10 +118,10 @@ export class SidebarComponent {
this
.
configPermission
.
data
=
new
MyConfigPermissionModel
(
response
)
this
.
menuItems
.
forEach
(
x
=>
{
// เปิดทุกเมนู
//
x.show = true
//
x.children?.forEach(y => {
//
y.show = true
//
})
x
.
show
=
true
x
.
children
?.
forEach
(
y
=>
{
y
.
show
=
true
})
// เปิดตาม config
const
configMenu
=
this
.
configPermission
.
data
.
menuBody
.
find
(
y
=>
y
.
id
==
x
.
id
)
...
...
src/app/shared/services/navservice.ts
View file @
9b9632bc
...
...
@@ -97,7 +97,7 @@ export class NavService implements OnDestroy {
path
:
'/dashboard/projects'
,
id
:
'm0'
,
show
:
true
,
icon
:
'assets/img/icons-menu/house_3781618.png'
,
icon
:
'assets/img/icons-menu/house_3781618.png'
},
// {
// title: 'ประเมินผล',
...
...
src/assets/img/icons-menu/house_3781618.png
0 → 100644
View file @
9b9632bc
9.02 KB
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment