mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-08-04 09:39:23 +00:00
remove website in edit profile page works
This commit is contained in:
parent
bb2b17b24e
commit
2c8a5b5ff8
1 changed files with 1 additions and 0 deletions
|
|
@ -17,5 +17,6 @@ habitrpg.controller("UserCtrl", ['$scope', '$location', 'User',
|
|||
}
|
||||
$scope.removeWebsite = function($index){
|
||||
User.user.profile.websites.splice($index,1);
|
||||
User.set('profile.websites', User.user.profile.websites);
|
||||
}
|
||||
}]);
|
||||
|
|
|
|||
Loading…
Reference in a new issue