mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-07-13 23:42:12 +00:00
Cleaned mp displaed in fixed value (#10626)
This commit is contained in:
parent
39847893d2
commit
05e8d6f032
1 changed files with 2 additions and 1 deletions
|
|
@ -52,7 +52,8 @@ export default {
|
|||
this.notify(parsedMarkdown, 'info');
|
||||
},
|
||||
mp (val) {
|
||||
this.notify(`${this.sign(val)} ${toFixedWithoutRounding(val, 1)}`, 'mp', 'glyphicon glyphicon-fire', this.sign(val));
|
||||
const cleanMp = `${val}`.replace('-', '').replace('+', '');
|
||||
this.notify(`${this.sign(val)} ${toFixedWithoutRounding(cleanMp, 1)}`, 'mp', 'glyphicon glyphicon-fire', this.sign(val));
|
||||
},
|
||||
purchased (itemName) {
|
||||
this.text(this.$t('purchasedItem', {
|
||||
|
|
|
|||
Loading…
Reference in a new issue