Commit ae45d4c 1 parent cb0e399 commit ae45d4c Copy full SHA for ae45d4c
File tree 1 file changed +4
-4
lines changed
tensorboard/plugins/projector/vz_projector
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) {
398
398
this . customSelectedSearchByMetadataOption =
399
399
this . searchByMetadataOptions [ Math . max ( 0 , searchByMetadataIndex ) ] ;
400
400
}
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 ;
403
403
const allTabs = this . root ?. querySelectorAll ( '.ink-tab' ) ;
404
404
if ( allTabs ) {
405
405
for ( let i = 0 ; i < allTabs . length ; i ++ ) {
@@ -414,7 +414,7 @@ class ProjectionsPanel extends LegacyElementMixin(PolymerElement) {
414
414
}
415
415
}
416
416
util . classed (
417
- this . $$ ( '.ink-panel-content[data-panel="' + id + '"]' ) as HTMLElement ,
417
+ this . $$ ( '.ink-panel-content[data-panel="' + projection + '"]' ) as HTMLElement ,
418
418
'active' ,
419
419
true
420
420
) ;
@@ -427,7 +427,7 @@ class ProjectionsPanel extends LegacyElementMixin(PolymerElement) {
427
427
this . style . height = main . clientHeight + 'px' ;
428
428
} ) ;
429
429
}
430
- this . beginProjection ( id ) ;
430
+ this . beginProjection ( projection ) ;
431
431
}
432
432
private beginProjection ( projection : ProjectionType ) {
433
433
if ( this . polymerChangesTriggerReprojection === false ) {
You can’t perform that action at this time.
0 commit comments