File tree Expand file tree Collapse file tree
saltgui/static/scripts/panels Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1077,17 +1077,17 @@ export class Panel {
10771077 let colNr = - 1 ;
10781078 // find a column with this name
10791079 for ( let i = 0 ; i < this . table . tHead . children [ 0 ] . children . length ; i ++ ) {
1080- const td = this . table . tHead . children [ 0 ] . children [ i ] ;
1081- if ( td . innerText === pColTitle ) {
1080+ const th = this . table . tHead . children [ 0 ] . children [ i ] ;
1081+ if ( th . innerText === pColTitle ) {
10821082 colNr = i ;
10831083 break ;
10841084 }
10851085 }
10861086
10871087 // title
10881088 for ( const tr of this . table . tHead . children ) {
1089- const td = tr . children [ colNr ] ;
1090- td . style . display = pShow ? "" : "none" ;
1089+ const th = tr . children [ colNr ] ;
1090+ th . style . display = pShow ? "" : "none" ;
10911091 }
10921092 // data
10931093 for ( const tr of this . table . tBodies [ 0 ] . children ) {
You can’t perform that action at this time.
0 commit comments