Skip to content

Widgets are always loaded..#225

Merged
zbrag merged 2 commits into
masterfrom
widget-caching
Jun 17, 2026
Merged

Widgets are always loaded..#225
zbrag merged 2 commits into
masterfrom
widget-caching

Conversation

@zbrag

@zbrag zbrag commented Jun 16, 2026

Copy link
Copy Markdown
Member

When you hide a WHMCS widget, the widget will always get loaded, so it was only a visual trigger. The default WHMCS widgets follow the same pattern. I've now added an option to detect if the user(admin) is hiding the widget. If that is the case, we skip the api calls. When the widget is enabled, they will load the data.

I think this will finally solve the problem indicated in #218 ..

@zbrag zbrag requested a review from PJEilers June 16, 2026 14:20
@zbrag zbrag mentioned this pull request Jun 16, 2026
@zbrag zbrag merged commit 2b9e2a3 into master Jun 17, 2026
3 of 5 checks passed
@zbrag zbrag deleted the widget-caching branch June 17, 2026 09:21
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

Successfully merging this pull request may close these issues.

2 participants