Skip to content

It doesn't work with JavaScript's "fetch" api #17

Description

@SalehBagheri

I am using asynchronous 'fetch' to send requests. The endpoint actions call the "_notyfService.Success" method, but the notyf doesn't work and it is not displayed on the screen.

JS code:
let response = await fetch('/controller/action');

and in Controller's action, I have:
_notyfService.Success("Text"); return new EmptyResult();

Any suggestion?

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