mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-16 22:27:26 +01:00
Show error message in empty market inventory drawer (#9041)
* client/tasks/user: (create dropdown) change icon color on menuitem hover Previously the color was only changing when you hovered over the text or icon. This change changes the icon color when you hover anywhere over the `menuitem` * client/shops/market: fix search field in market * Hide drawer sliders if number of items for type is empty * Move drawer-help-text icon down to line up vertically with text * Add TODO for error thrown when trying to sell special item types * client/tasks/taskModal: display all selected tags for task * i18n/groups: religous to religious * client/shops/market: Add error message to empty drawer slider * Create new locale file to hold inventory locales * client/tasks/user: Revert change to create dropdown * Revert tag changes This will be picked up in a separate PR. * Fix missing space before function paren
This commit is contained in:
committed by
Sabe Jones
parent
cf5985e38c
commit
3db666eb9e
@@ -9,6 +9,7 @@ import {
|
||||
BadRequest,
|
||||
} from '../libs/errors';
|
||||
|
||||
// @TODO: 'special' type throws NotAuthorized error
|
||||
const ACCEPTEDTYPES = ['eggs', 'hatchingPotions', 'food'];
|
||||
|
||||
module.exports = function sell (user, req = {}) {
|
||||
|
||||
Reference in New Issue
Block a user