File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
tensorboard/plugins/projector/vz_projector Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -398,8 +398,8 @@ class ProjectionsPanel extends LegacyElementMixin(PolymerElement) {
398398 this . customSelectedSearchByMetadataOption =
399399 this . searchByMetadataOptions [ Math . max ( 0 , searchByMetadataIndex ) ] ;
400400 }
401- public showTab ( id : ProjectionType ) {
402- const tab = this . $$ ( '.ink-tab[data-tab="' + id + '"]' ) as HTMLElement ;
401+ public showTab ( projection : ProjectionType ) {
402+ const tab = this . $$ ( '.ink-tab[data-tab="' + projection + '"]' ) as HTMLElement ;
403403 const allTabs = this . root ?. querySelectorAll ( '.ink-tab' ) ;
404404 if ( allTabs ) {
405405 for ( let i = 0 ; i < allTabs . length ; i ++ ) {
@@ -414,7 +414,7 @@ class ProjectionsPanel extends LegacyElementMixin(PolymerElement) {
414414 }
415415 }
416416 util . classed (
417- this . $$ ( '.ink-panel-content[data-panel="' + id + '"]' ) as HTMLElement ,
417+ this . $$ ( '.ink-panel-content[data-panel="' + projection + '"]' ) as HTMLElement ,
418418 'active' ,
419419 true
420420 ) ;
@@ -427,7 +427,7 @@ class ProjectionsPanel extends LegacyElementMixin(PolymerElement) {
427427 this . style . height = main . clientHeight + 'px' ;
428428 } ) ;
429429 }
430- this . beginProjection ( id ) ;
430+ this . beginProjection ( projection ) ;
431431 }
432432 private beginProjection ( projection : ProjectionType ) {
433433 if ( this . polymerChangesTriggerReprojection === false ) {
You can’t perform that action at this time.
0 commit comments