Skip to content

frontend: remove remaining local router.push ignore handlers #2825

Description

@petersutter

What would you like to be added:
see discussion

Remove the remaining local router.push(...) catch-and-ignore handlers that were originally used to suppress navigation-aborted style outcomes.

Remaining occurrences:

  • frontend/src/layouts/GLogin.vue
  • frontend/src/views/GShootItemError.vue
  • frontend/src/views/GProjectError.vue
  • frontend/src/views/GNotFound.vue

Why is this needed:

In Vue Router v4, expected navigation outcomes are already handled centrally in frontend/src/router/index.js via router.afterEach(...failure) and router.onError(...). These local ignore blocks are no longer needed for normal guard redirects and can hide unexpected errors.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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