Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit cd5a460

Browse files
committed
Iterate PR based on feedback
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
1 parent 16c027d commit cd5a460

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

res/css/views/dialogs/_DevtoolsDialog.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ limitations under the License.
1919
}
2020

2121
.mx_DevTools_ServersInRoomList_button {
22+
/* Set the cursor back to default as `.mx_Dialog button` sets it to pointer */
2223
cursor: default !important;
2324
}
2425

src/components/views/dialogs/DevtoolsDialog.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -561,8 +561,6 @@ class ServersInRoomList extends DevtoolsComponent {
561561
constructor(props, context) {
562562
super(props, context);
563563

564-
this.onQuery = this.onQuery.bind(this);
565-
566564
const room = MatrixClientPeg.get().getRoom(this.context.roomId);
567565
const servers = new Set();
568566
room.currentState.getStateEvents("m.room.member").forEach(ev => servers.add(ev.getSender().split(":")[1]));
@@ -576,7 +574,7 @@ class ServersInRoomList extends DevtoolsComponent {
576574
};
577575
}
578576

579-
onQuery(query) {
577+
onQuery = (query) => {
580578
this.setState({ query });
581579
}
582580

0 commit comments

Comments
 (0)