* VRFS-1309 - Edit link erroneously shown on non-you profiles
This commit is contained in:
parent
90f18a671a
commit
9b8caedbb2
|
|
@ -377,10 +377,14 @@
|
|||
$bioTextArea.val(user.biography);
|
||||
|
||||
if(user.biography) {
|
||||
|
||||
$showBio.show();
|
||||
if(isCurrentUser()) {
|
||||
$editBiographyButton.show();
|
||||
}
|
||||
else {
|
||||
$editBiographyButton.hide();
|
||||
}
|
||||
$biographyText.text(user.biography).show();
|
||||
}
|
||||
else {
|
||||
|
|
|
|||
Loading…
Reference in New Issue