We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Usage example:
<button @click="logout">Logout</button>
Throws an error in the dev tools console:
Uncaught (in promise) Error: "token" must be string or undefined
Usage example should be updated as follows:
<button @click="logout()">Logout</button>
This passes undefined to logout()
undefined
logout()
The text was updated successfully, but these errors were encountered:
hey @camslice
is it possible that the user is not logged in?
to debug this, do you see DSR in locale storage or on cookie?
DSR
Sorry, something went wrong.
hey @asafshen
user is definitely logged in. i can see the DSR In both local storage and in a cookie.
i think the issue is that the default parameter passed to a Vue @click directive is the event, which is an object.
@click
this:
is the same as this:
<button @click="logout($event)">Logout</button>
logout is expecting a string or undefined
logout
string
cam
ab20610
@asafshen 🙏
asafshen
Successfully merging a pull request may close this issue.
Usage example:
Throws an error in the dev tools console:
Usage example should be updated as follows:
This passes
undefined
tologout()
The text was updated successfully, but these errors were encountered: