Skip to content

Commit 5b959a7

Browse files
authored
Don't unselect monitor on second click (#20)
1 parent b3dcd12 commit 5b959a7

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Diff for: src/app/Store.ts

+1-2
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,7 @@ export default class Store {
101101

102102
@action
103103
public selectMonitor(monitorId: string) {
104-
this.selectedMonitorId =
105-
this.selectedMonitorId === monitorId ? "" : monitorId;
104+
this.selectedMonitorId = monitorId;
106105
}
107106

108107
@action

0 commit comments

Comments
 (0)