Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
BookingMyHrManagement
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
Chanachai
BookingMyHrManagement
Commits
b83251ac
Commit
b83251ac
authored
Nov 29, 2021
by
DESKTOP-HF0LVOG\myhr
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add file ที่ลบผิด
parent
af519bae
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
34 additions
and
0 deletions
+34
-0
sidebar.component.ts
src/app/components/sidebar/sidebar.component.ts
+7
-0
admin-layout.routing.ts
src/app/layouts/admin-layout/admin-layout.routing.ts
+2
-0
lend-page.component.scss
src/app/pages/lend-page/lend-page.component.scss
+0
-0
lend-page.component.spec.ts
src/app/pages/lend-page/lend-page.component.spec.ts
+25
-0
No files found.
src/app/components/sidebar/sidebar.component.ts
View file @
b83251ac
...
...
@@ -36,6 +36,13 @@ export const ROUTES: RouteInfo[] = [
icon
:
"icon-bag-16"
,
class
:
""
},
{
path
:
"/lend-page"
,
title
:
"รายการดำเนินการ"
,
rtlTitle
:
""
,
icon
:
"icon-bag-16"
,
class
:
""
},
];
@
Component
({
...
...
src/app/layouts/admin-layout/admin-layout.routing.ts
View file @
b83251ac
...
...
@@ -11,6 +11,7 @@ import { HomePageComponent } from "src/app/pages/home-page/home-page.component";
import
{
EquipmentComponent
}
from
"src/app/pages/equipment/equipment.component"
;
import
{
AdminPendingComponent
}
from
"src/app/pages/admin-pending/admin-pending.component"
;
import
{
PendingComponent
}
from
"src/app/pages/pending/pending.component"
;
import
{
LendPageComponent
}
from
"src/app/pages/lend-page/lend-page.component"
;
// import { RtlComponent } from "../../pages/rtl/rtl.component";
export
const
AdminLayoutRoutes
:
Routes
=
[
...
...
@@ -18,6 +19,7 @@ export const AdminLayoutRoutes: Routes = [
{
path
:
"equipment"
,
component
:
EquipmentComponent
},
{
path
:
"admin-pending"
,
component
:
AdminPendingComponent
},
{
path
:
"pending"
,
component
:
PendingComponent
},
{
path
:
"lend-page"
,
component
:
LendPageComponent
},
{
path
:
"dashboard"
,
component
:
DashboardComponent
},
{
path
:
"icons"
,
component
:
IconsComponent
},
{
path
:
"maps"
,
component
:
MapComponent
},
...
...
src/app/pages/lend-page/lend-page.component.scss
0 → 100644
View file @
b83251ac
src/app/pages/lend-page/lend-page.component.spec.ts
0 → 100644
View file @
b83251ac
import
{
ComponentFixture
,
TestBed
}
from
'@angular/core/testing'
;
import
{
LendPageComponent
}
from
'./lend-page.component'
;
describe
(
'LendPageComponent'
,
()
=>
{
let
component
:
LendPageComponent
;
let
fixture
:
ComponentFixture
<
LendPageComponent
>
;
beforeEach
(
async
()
=>
{
await
TestBed
.
configureTestingModule
({
declarations
:
[
LendPageComponent
]
})
.
compileComponents
();
});
beforeEach
(()
=>
{
fixture
=
TestBed
.
createComponent
(
LendPageComponent
);
component
=
fixture
.
componentInstance
;
fixture
.
detectChanges
();
});
it
(
'should create'
,
()
=>
{
expect
(
component
).
toBeTruthy
();
});
});
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