Skip to content

Protected Session Prompt Always Displays。 #1280

New issue

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

Closed
yunyuyuan opened this issue Feb 25, 2025 · 2 comments
Closed

Protected Session Prompt Always Displays。 #1280

yunyuyuan opened this issue Feb 25, 2025 · 2 comments

Comments

@yunyuyuan
Copy link

Description

I first encountered this issue on my freshly updated Docker (v0.91.6). Then, I tested the Windows desktop app (v0.91.6) with a fresh installation, and the issue also existed.

1.mp4

I have found that the problem is that the doRefresh function was not packaged into the app-dist. I don't know why; perhaps it's a tree-shaking issue.

https://github.com/TriliumNext/Notes/blob/develop/src/public/app/widgets/type_widgets/type_widget.ts#L20

Image

TriliumNext Version

0.91.6

What operating system are you using?

Windows

What is your setup?

Local + server sync

Operating System Version

Docker(Host is Arch linux ), and Windows 11

Error logs

type_widget.js:20 Uncaught (in promise) TypeError: this.doRefresh is not a function

@pano9000
Copy link
Member

thanks for reporting, this is a duplicate of #1078

and it has been fixed in the latest beta releases alreary

@eliandoran
Copy link
Contributor

@yunyuyuan , appreciate the detailed report, though. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants