Skip to content

Can't move some items in personalize #159

@veronoicc

Description

@veronoicc

Description / 问题描述

On the "Personalize" page, trying to move any item up and down using the arrows either errors or just doesn't do anything.

Steps to Reproduce / 复现步骤

  1. Go to the /settings/personalize page
  2. Open a dropdown (example: Genders)
  3. Try to move an item using the arrows

Expected Behavior / 期望行为

The item moves up and down depending on the arrow pressed

Actual Behavior / 实际行为

On some dropdowns (like Genders), the api responds with

{
    "success": false,
    "error": {
        "code": "INTERNAL_ERROR",
        "message": "err.failed_to_update_position"
    }
}

And on some others like Templates (with a template selected), it does get a 204 No Content response, but the item does not change its position, and even after refreshing it remains at the same position.

Environment / 环境信息

No response

Additional Context / 补充信息

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions