Oscar José Nuñez Chávez 5 éve
szülő
commit
f22a05f9b1

+ 1 - 1
src/app/components/assets/assets.component.html

@@ -135,7 +135,7 @@
                 <img src="assets/img/medal.png" alt="Certificate" />
               </span>
               <div class="cert-title">
-                <h2>Certificados de origen - CdO</h2>
+                <h2>Certificados de Origen</h2>
               </div>
               <div class="cdo-items">
                 <i class="material-icons">

+ 1 - 0
src/app/components/assets/assets.component.scss

@@ -153,6 +153,7 @@ table {
   h2 {
     font-size: 1.5rem;
     margin: 0 0 12px;
+    font-weight: bold;
     @media screen and (max-width: 800px) {
       font-size: 1.3rem;
     }

+ 1 - 1
src/app/components/assets/assets.component.ts

@@ -607,7 +607,7 @@ export class AssetsComponent implements OnInit {
             for (let prop in meterKeys2) {
               let label;
               //let label = localStorage.getItem("email") == "inverlec@grupomerelec.com" ? `INVERLEC ${prop}` : this.metersValues[prop]["label"];
-              if (+this.authService.getUserLevel() == 3) {
+              if (+this.authService.getUserLevel() == 0) {
                 label = "INVERLEC " + `${prop}` + " [kWh]"; // DEMO
               } else {
                 label = this.metersValues[prop]["label"] + " [kWh]";