diff options
Diffstat (limited to 'resources/js/classes/Item.js')
-rw-r--r-- | resources/js/classes/Item.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/resources/js/classes/Item.js b/resources/js/classes/Item.js index 40089f2..c70c28a 100644 --- a/resources/js/classes/Item.js +++ b/resources/js/classes/Item.js @@ -4,11 +4,11 @@ class Item { } get name () { - return translate(this.slug) || slugToName(this.slug); + return translate(this.slug); } get description () { - return translate(`${this.slug}_description`) || 'ITEM_DESCRIPTION_MISSING'; + return translate(`${this.slug}_description`); } get category () { |