Skip to content

Commit

Permalink
fix instant label (#330)
Browse files Browse the repository at this point in the history
  • Loading branch information
solderq35 authored May 28, 2024
1 parent a1bc5b9 commit fbe0679
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions backend/dependencies/nodejs/models/meter.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ class Meter {
cphase_b: 'Current, Phase B (A)',
cphase_c: 'Current, Phase C (A)',
cubic_feet: 'Total Natural Gas (CF)',
instant: 'Instant',
maximum: 'Maximum',
minimum: 'Minimum',
rate: 'Natural Gas Rate (CFm)',
Expand Down
1 change: 1 addition & 0 deletions src/components/view/modals/download_data.vue
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,7 @@ export default {
cphase_b: 'Current, Phase B (A)',
cphase_c: 'Current, Phase C (A)',
cubic_feet: 'Total Natural Gas (CF)',
instant: 'Instant',
maximum: 'Maximum',
minimum: 'Minimum',
rate: 'Natural Gas Rate (CFm)',
Expand Down
2 changes: 2 additions & 0 deletions src/store/chart.module.js
Original file line number Diff line number Diff line change
Expand Up @@ -277,6 +277,7 @@ const getters = {
cphase_b: 'Current, Phase B (A)',
cphase_c: 'Current, Phase C (A)',
cubic_feet: 'Total Natural Gas (CF)',
instant: 'Instant',
maximum: 'Maximum',
minimum: 'Minimum',
rate: 'Natural Gas Rate (CFm)',
Expand Down Expand Up @@ -319,6 +320,7 @@ const getters = {
cphase_b: 'A',
cphase_c: 'A',
cubic_feet: 'CF',
instant: '',
maximum: '',
minimum: '',
rate: 'CFm',
Expand Down
2 changes: 1 addition & 1 deletion tests/assertedData/mock_allbuildings.json
Original file line number Diff line number Diff line change
Expand Up @@ -2965,7 +2965,7 @@
"points": [
{ "label": "Total Natural Gas (CF)", "value": "cubic_feet" },
{ "label": "Natural Gas Rate (CFm)", "value": "rate" },
{ "value": "instant" },
{ "label": "Instant", "value": "instant" },
{ "label": "Minimum", "value": "minimum" },
{ "label": "Maximum", "value": "maximum" }
]
Expand Down

0 comments on commit fbe0679

Please sign in to comment.