Commit 04a6ada2689ebc5d21cfb10f43520e173ae3066f

Authored by trainee
1 parent 3ceb42bb
Exists in master

no message

src/app/dashboard/dashboard.component.ts
... ... @@ -12,8 +12,8 @@ export class DashboardComponent implements OnInit {
12 12  
13 13 resultData: any;
14 14  
15   - // getColor(ColorDays) {
16   - // switch (Days) {
  15 + // getColor(days) {
  16 + // switch (days) {
17 17 // case 'greenDay':
18 18 // return 'green';
19 19 // case 'yellowDay':
... ... @@ -28,21 +28,9 @@ export class DashboardComponent implements OnInit {
28 28 // "Days": ['0','1','2','3','4','5','6','7']
29 29 // },
30 30 // {
31   - // "name": "Mcleod Mueller",
32   - // "country": 'USA'
  31 + // "Days": ['8','9','10','11','12','13','14','15']
33 32 // },
34   - // {
35   - // "name": "Day Meyers",
36   - // "country": 'HK'
37   - // },
38   - // {
39   - // "name": "Aguirre Ellis",
40   - // "country": 'UK'
41   - // },
42   - // {
43   - // "name": "Cook Tyson",
44   - // "country": 'USA'
45   - // }
  33 +
46 34 // ];
47 35  
48 36 constructor(
... ...
src/index.html
... ... @@ -4,8 +4,8 @@
4 4 <meta charset="utf-8">
5 5 <title>TestApi</title>
6 6  
7   - <base href="/home/smartzone-home/dist/">
8   - <!-- <base href="/home/smartzone-home/dist/"> -->
  7 + <base href="/">
  8 + <!-- <base href="/home/smartzone-home/dist/test-api/"> -->
9 9 <!-- แก้ base href จากเดิมเป็น ="/" -->
10 10  
11 11 <meta name="viewport" content="width=device-width, initial-scale=1">
... ...