Add access specifier to class methods
This commit is contained in:
parent
fbc341a2f5
commit
d0e2695114
5 changed files with 26 additions and 26 deletions
|
@ -41,7 +41,7 @@ export default class RoomHeaderButtons extends HeaderButtons {
|
|||
this.onNotificationsClicked = this.onNotificationsClicked.bind(this);
|
||||
}
|
||||
|
||||
onAction(payload: ActionPayload) {
|
||||
public onAction(payload: ActionPayload) {
|
||||
super.onAction(payload);
|
||||
if (payload.action === Action.ViewUser) {
|
||||
if (payload.member) {
|
||||
|
@ -79,7 +79,7 @@ export default class RoomHeaderButtons extends HeaderButtons {
|
|||
this.setPhase(RightPanelPhases.NotificationPanel);
|
||||
}
|
||||
|
||||
renderButtons() {
|
||||
public renderButtons() {
|
||||
return [
|
||||
<HeaderButton key="membersButton" name="membersButton"
|
||||
title={_t('Members')}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue