Skip to content

Commit

Permalink
fix set cmd visibility
Browse files Browse the repository at this point in the history
  • Loading branch information
Salvialf committed Jan 14, 2024
1 parent b10e85b commit 577dd63
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions desktop/js/display.js
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ document.getElementById('div_pageContainer').addEventListener('click', function(
var cmds = []
document.querySelectorAll('.cb_selCmd').forEach(_cb => {
if (_cb.checked) {
eqLogics.push(_cb.closest('.cmd').getAttribute('data-id'))
cmds.push(_cb.closest('.cmd').getAttribute('data-id'))
}
})
jeedom.cmd.setIsVisibles({
Expand Down Expand Up @@ -450,7 +450,7 @@ document.getElementById('div_pageContainer').addEventListener('click', function(

if (_target = event.target.closest('.bt_exportcsv')) {
var fullFile = ''
var eqParent, cmd
var eqParent
document.querySelectorAll('.eqLogic').forEach(_eqlogic => {
eqParent = _eqlogic.closest('.panel.panel-default')
eqParent = eqParent.querySelector('a.accordion-toggle').textContent
Expand Down

0 comments on commit 577dd63

Please sign in to comment.