Skip to content

Commit 41e0442

Browse files
fix
1 parent e2610c1 commit 41e0442

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

toolings/tfjs-debugger/src/app/components/input_selector/input_selector.component.spec.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ import {AppState} from 'src/app/store/state';
3333
import {InputSelector} from './input_selector.component';
3434
import {InputSelectorModule} from './input_selector.module';
3535

36-
describe('ModelSelector', () => {
36+
describe('InputSelector', () => {
3737
let store: Store<AppState>;
3838
let router: Router;
3939
let fixture: ComponentFixture<InputSelector>;

toolings/tfjs-debugger/src/app/components/input_selector/input_selector.component.ts

+5-5
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ import {InputTypeOption} from './types';
4141
export class InputSelector implements OnInit, OnDestroy {
4242
@Input() configIndex: ConfigIndex = 0;
4343

44-
/** All supported model types. */
44+
/** All supported input types. */
4545
readonly inputTypes: InputTypeOption[] = [
4646
{
4747
id: InputTypeId.RANDOM,
@@ -73,7 +73,7 @@ export class InputSelector implements OnInit, OnDestroy {
7373
) {}
7474

7575
ngOnInit() {
76-
// Add "Same as configuration 1" option when the model selector is used in
76+
// Add "Same as configuration 1" option when the input selector is used in
7777
// the configuration 2.
7878
if (this.configIndex === 1) {
7979
this.inputTypes.unshift({
@@ -107,10 +107,10 @@ export class InputSelector implements OnInit, OnDestroy {
107107
handleSelectionChange(event: MatSelectChange) {
108108
const inputTypeId = event.value as InputTypeId;
109109

110-
// TODO: add logic as needed to handle selection change (e.g. show certain
111-
// UI elements when an item is selected).
110+
// TODO: add other logic as needed to handle selection change (e.g. show
111+
// certain UI elements when an item is selected).
112112

113-
// Update url with selected model type id.
113+
// Update url with selected input type id.
114114
this.urlService.updateUrlParameters({
115115
[appendConfigIndexToKey(
116116
UrlParamKey.SELECTED_INPUT_TYPE_ID, this.configIndex)]:

0 commit comments

Comments
 (0)