fix condition
This commit is contained in:
parent
eddb92abe8
commit
af7d331ac5
1 changed files with 2 additions and 2 deletions
|
@ -204,8 +204,8 @@ class User extends SnowFlake{
|
||||||
member.showEditProfile();
|
member.showEditProfile();
|
||||||
},
|
},
|
||||||
null,
|
null,
|
||||||
member=>{
|
function(member){
|
||||||
return !!member;
|
return member?.id===this.localuser.user.id;
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
this.contextmenu.addbutton(
|
this.contextmenu.addbutton(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue