Skip to content
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

Statestore not available in third-party ui nodes #1067

Closed
bartbutenaers opened this issue Jul 5, 2024 · 2 comments
Closed

Statestore not available in third-party ui nodes #1067

bartbutenaers opened this issue Jul 5, 2024 · 2 comments

Comments

@bartbutenaers
Copy link
Contributor

Hi guys,

I want to store my dynamic properties (from msg.ui_update) into the State store. However that fails, because only the Data store seems to be available:

image

Had a quick look and I think it should be added here in the ui_base:

        node.stores = {
            data: datastore
        }

I will implement this change myself during the weekend and test it.
But then at least it has been officially registered, in case somebody else meanwhile has the same problem.

Bart

@bartbutenaers
Copy link
Contributor Author

That was indeed what I needed. Seems to be better now after a quick fix:

image

Will create a pull request later on...

@joepavitt
Copy link
Collaborator

Closed by #1075

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

2 participants