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

WidgetContext interface is out-of-date or missing items #37

Open
skewty opened this issue Aug 15, 2022 · 0 comments
Open

WidgetContext interface is out-of-date or missing items #37

skewty opened this issue Aug 15, 2022 · 0 comments

Comments

@skewty
Copy link

skewty commented Aug 15, 2022

I have noticed several properties missing from interface WidgetContext in widget-component.model.ts.

For example: currentUser as suggested in StackOverflow seems to be the proper way to get the current user but isn't in the interface.

console.log(self.ctx) shows more services than what are listed in the interface as well.

Does self.ctx perhaps now have a new and different interface type?
custom-alarms-table-widget.component.ts still refers to WidgetContext.

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

1 participant