Skip to content

Commit

Permalink
Merge pull request #2 from vasgat/main
Browse files Browse the repository at this point in the history
add electronics sector
  • Loading branch information
vasgat authored May 17, 2024
2 parents fd3afba + 7e65514 commit 3ee8edb
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion dist/msa-dashboard/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,6 @@
<app-root></app-root>
<script src="https://use.fontawesome.com/eacca44f89.js"></script>
<script type="text/javascript" src="https://js.createsend1.com/javascript/copypastesubscribeformlogic.js"></script>
<script src="runtime.4d9be08b5519a318.js" type="module"></script><script src="polyfills.9b667fdefd80ddcd.js" type="module"></script><script src="scripts.b92344386afd2268.js" defer></script><script src="main.120b559ff1d08e34.js" type="module"></script>
<script src="runtime.4d9be08b5519a318.js" type="module"></script><script src="polyfills.9b667fdefd80ddcd.js" type="module"></script><script src="scripts.b92344386afd2268.js" defer></script><script src="main.51a61bfb172bd395.js" type="module"></script>

</body></html>
1 change: 0 additions & 1 deletion dist/msa-dashboard/main.120b559ff1d08e34.js

This file was deleted.

1 change: 1 addition & 0 deletions dist/msa-dashboard/main.51a61bfb172bd395.js

Large diffs are not rendered by default.

8 changes: 6 additions & 2 deletions src/app/services/data.provider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ export class DataProvider {
hospitality: 'MSA_Hospitality',
financial: 'MSA_Financial',
renewable_energy: 'MSA_Renewable_Energy',
electronics: 'MSA_Electronics',
none: ''
}

Expand All @@ -31,7 +32,8 @@ export class DataProvider {
'garment-sector': 'Garment',
'financial-sector': 'Financial',
'hospitality-sector': 'Hospitality',
'renewable-energy': '(Renewable) Energy'
'renewable-energy': '(Renewable) Energy',
'electronics': 'Electronics'
}

metrics = {
Expand Down Expand Up @@ -109,7 +111,9 @@ export class DataProvider {
return this.company_groups.financial
} else if (sector === 'renewable-energy') {
return this.company_groups.renewable_energy
} else {
} else if (sector === 'electronics') {
return this.company_groups.electronics
}else {
return this.company_groups.none
}
}
Expand Down

0 comments on commit 3ee8edb

Please sign in to comment.