Skip to content

Commit 3a8cf78

Browse files
committed
only lint the frontend
1 parent 85e4716 commit 3a8cf78

File tree

3 files changed

+16
-16
lines changed

3 files changed

+16
-16
lines changed

tensorboard/webapp/metrics/views/main_view/card_groups_container.ts

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -37,18 +37,18 @@ export class CardGroupsContainer {
3737
@Input() cardObserver!: CardObserver;
3838

3939
constructor(private readonly store: Store<State>) {
40-
this.cardGroups$ = this.store
41-
.select(getSortedRenderableCardIdsWithMetadata)
42-
.pipe(
43-
combineLatestWith(this.store.select(getMetricsFilteredPluginTypes)),
44-
map(([cardList, filteredPlugins]) => {
45-
if (!filteredPlugins.size) return cardList;
46-
return cardList.filter((card) => {
47-
return filteredPlugins.has(card.plugin);
48-
});
49-
}),
50-
map((cardList) => groupCardIdWithMetdata(cardList))
51-
);
40+
this.cardGroups$ = this.store
41+
.select(getSortedRenderableCardIdsWithMetadata)
42+
.pipe(
43+
combineLatestWith(this.store.select(getMetricsFilteredPluginTypes)),
44+
map(([cardList, filteredPlugins]) => {
45+
if (!filteredPlugins.size) return cardList;
46+
return cardList.filter((card) => {
47+
return filteredPlugins.has(card.plugin);
48+
});
49+
}),
50+
map((cardList) => groupCardIdWithMetdata(cardList))
51+
);
5252
}
5353

5454
readonly cardGroups$: Observable<CardGroup[]>;

tensorboard/webapp/metrics/views/main_view/empty_tag_match_message_container.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ export class EmptyTagMatchMessageContainer {
4444
.pipe(
4545
map((cardList) => {
4646
return new Set(cardList.map(({tag}) => tag)).size;
47-
}),
47+
})
4848
);
4949
}
5050

tensorboard/webapp/metrics/views/main_view/main_view_container.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,15 +65,15 @@ export class MainViewContainer {
6565
loadState.state === DataLoadState.LOADING &&
6666
loadState.lastLoadedTimeInMs === null
6767
);
68-
}),
68+
})
6969
);
7070
this.showFilteredView$ = this.store.select(getMetricsTagFilter).pipe(
7171
map((filter) => {
7272
return filter.length > 0;
73-
}),
73+
})
7474
);
7575
this.filteredPluginTypes$ = this.store.select(
76-
getMetricsFilteredPluginTypes,
76+
getMetricsFilteredPluginTypes
7777
);
7878
this.isSlideoutMenuOpen$ = this.store.select(isMetricsSlideoutMenuOpen);
7979
}

0 commit comments

Comments
 (0)