Skip to content

Could not clear notification item when window.location.pathname is same #47

@0xuhe

Description

@0xuhe

axios.delete('/profiles/' + window.App.user.name + '/notifications/' + notification.id)

It seems that we need remove this notification item in Vue if we are at subscribed thread page.
It may be caused by window.location.pathname is same, so the browser won't reload, so the notifications in Vue won't change.
That's wired that I found it works fine in your video.

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