mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-08-03 12:40:00 +00:00
Explicitly reset mountCount to 0. (Otherwise, will not reset until refresh)
This commit is contained in:
parent
a5d6c9de3f
commit
0f3d6bc751
1 changed files with 1 additions and 0 deletions
|
|
@ -162,6 +162,7 @@ habitrpg.controller('SettingsCtrl',
|
|||
|
||||
$scope.releaseMounts = function() {
|
||||
User.user.ops.releaseMounts({});
|
||||
$rootScope.mountCount = 0;
|
||||
$rootScope.$state.go('tasks');
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue