mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-08-04 01:29:21 +00:00
fix(allocateNow): Send empty object to user.ops per @colegleason suggestion
Tested with both implemented allocation modes, looks good!
This commit is contained in:
parent
76a7ab5bcc
commit
f6e12fa25e
1 changed files with 1 additions and 1 deletions
|
|
@ -156,7 +156,7 @@ script(id='partials/options.profile.stats.html', type='text/ng-template')
|
|||
|
||||
i.icon-question-sign(popover-trigger='mouseenter', popover-placement='right', popover=env.t('taskallocationpopover'))
|
||||
div(ng-show='user.preferences.automaticAllocation && !(user.preferences.allocationMode === "taskbased") && (user.stats.points > 0)')
|
||||
a.btn.btn-primary.btn-mini(ng-click='user.ops.allocateNow(user.stats)', popover-trigger='mouseenter', popover-placement='right', popover=env.t('distributepointspopover'))
|
||||
a.btn.btn-primary.btn-mini(ng-click='user.ops.allocateNow({})', popover-trigger='mouseenter', popover-placement='right', popover=env.t('distributepointspopover'))
|
||||
i.icon-download.icon-white
|
||||
|
||||
=env.t('distributepoints')
|
||||
|
|
|
|||
Loading…
Reference in a new issue