Commit 4304f1a98a5f076ec828d5062fbd5e9af72953d6

Authored by trainee
1 parent 56416ee7
Exists in master

แก้บัค pm มี 0 ค่า

src/app/dashboard/dashboard.component.html
@@ -936,7 +936,7 @@ @@ -936,7 +936,7 @@
936 <br> 936 <br>
937 <br> 937 <br>
938 <button type="button" class="btn btn-circle button " *ngFor="let name of ButtonValue" (click)="getButton9(name.valueN);getButton9Onhold(name.valueN);" 938 <button type="button" class="btn btn-circle button " *ngFor="let name of ButtonValue" (click)="getButton9(name.valueN);getButton9Onhold(name.valueN);"
939 - style="margin-left: 5px; margin-top: 2px;"><div> {{ name.num }} </div> {{ name.name }} 939 + style="margin-left: 5px; margin-top: 2px;"><span class="badge2" style="margin-top: 20px;"> {{ name.num }} </span> {{ name.name }}
940 </button> 940 </button>
941 <!-- <span class="badge"> {{resultNum7}} </span> --> 941 <!-- <span class="badge"> {{resultNum7}} </span> -->
942 <hr> 942 <hr>
src/app/dashboard/dashboard.component.scss
@@ -89,9 +89,6 @@ btn.active { @@ -89,9 +89,6 @@ btn.active {
89 text-shadow: none!important; 89 text-shadow: none!important;
90 text-align: center; 90 text-align: center;
91 vertical-align: middle; 91 vertical-align: middle;
92 - position: absolute;  
93 - top: 160px;  
94 - left: 400px;  
95 } 92 }
96 93
97 .button { 94 .button {
src/app/dashboard/dashboard.component.ts
@@ -211,7 +211,7 @@ export class DashboardComponent implements OnInit { @@ -211,7 +211,7 @@ export class DashboardComponent implements OnInit {
211 { 211 {
212 id: 19, 212 id: 19,
213 name: 'PM', 213 name: 'PM',
214 - valueN: 'pm', 214 + valueN: 'pm ',
215 num : 0 215 num : 0
216 }, 216 },
217 { 217 {