Skip to content
Snippets Groups Projects
Unverified Commit 2e2f18d3 authored by Karishma Chadha's avatar Karishma Chadha Committed by GitHub
Browse files

Merge pull request #3688 from kchadha/current-monitor-label

Fix monitor labels for (current [v year]) block.
parents 33e9ff3e e27465d1
No related branches found
No related tags found
No related merge requests found
......@@ -210,7 +210,7 @@ class OpcodeLabels {
this._opcodeMap.sensing_loudness.labelFn = () => this._translator(messages.sensing_loudness);
this._opcodeMap.sensing_username.labelFn = () => this._translator(messages.sensing_username);
this._opcodeMap.sensing_current.labelFn = params => {
switch (params.CURRENTMENU) {
switch (params.CURRENTMENU.toLowerCase()) {
case 'year':
return this._translator(messages.sensing_current_year);
case 'month':
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment