Skip to content

Visual bug on routes list when redirect is a function #1027

Closed
@sharkykh

Description

@sharkykh

Version

5.1.1

Browser and OS info

Chrome 75.0.3770.100 x64 / Windows 10.0.17763 Pro x64

Steps to reproduce

Have a route with redirect as a function, for example:

{
    name: 'editShow-legacy',
    path: '/home/editShow',
    redirect: to => ({
        name: to.name.replace('-legacy', '')
    })
}

What is expected?

I'm assuming the same thing as on the meta (right) panel.
Or maybe something a little shorter like: ƒ redirect(...)

What is actually happening?

chrome_cWLNH7WHUC

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions