forked from cory/tildefriends
Progress toward viewing user profile pages.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3737 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
@@ -12,6 +12,7 @@ Vue.component('tf-user', {
|
||||
get: function() {
|
||||
return g_data.users &&
|
||||
g_data.users[g_data.whoami] &&
|
||||
g_data.users[g_data.whoami].following &&
|
||||
g_data.users[g_data.whoami].following[this.id];
|
||||
},
|
||||
set: function(newValue) {
|
||||
@@ -45,7 +46,7 @@ Vue.component('tf-user', {
|
||||
window.parent.postMessage(message, '*');
|
||||
},
|
||||
show_user: function() {
|
||||
this.show_user_dialog = true;
|
||||
window.parent.postMessage({action: 'setHash', hash: this.id}, '*');
|
||||
if (this.id == this.whoami) {
|
||||
this.edit_profile_name = this.users[this.id].name;
|
||||
this.edit_profile_description = this.users[this.id].description;
|
||||
|
Reference in New Issue
Block a user