Skip to content

navigate the browser to the collection list page #3

@xu4wang

Description

@xu4wang

Hi , Thanks for the wonderful extension. we are exploring to use it heavily for our business logic implementaiton.

One question, Instead of reload the page after the API call, are we able to navigate the browser to the collection list page inside the onClick function?

I tried modify the reload logic

router.go(0);

into:

router.push('/content/collection1');

However, directus APP will ask the user to confirm leave for the unsaved changes. Actually the changes was already saved inside the API call, is it possible to navigate silently without user confirmation?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions