mirror of
https://github.com/KelvinTegelaar/CIPP.git
synced 2026-04-25 08:16:01 +03:00
[GH-ISSUE #7] Bug: Unnecessary call against function on load of each page #4
Labels
No labels
API
Feature
NotABug
NotABug
Planned
Sponsor Priority
Sponsor Priority
bug
documentation
duplicate
enhancement
needs more info
no-activity
no-priority
not-assigned
pull-request
react-conversion
react-conversion
roadmap
security
stale
unconfirmed-by-user
unconfirmed-by-user
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/CIPP#4
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @gavsto on GitHub (Oct 14, 2021).
Original GitHub issue: https://github.com/KelvinTegelaar/CIPP/issues/7
Describe the bug
When a page with a data table is loaded, before a tenant is selected, the page calls the Azure Function unnecessarily. This slows down the load of the page and can cause a temporary micro hang, triggers the functions with error output and causes unnecessary usage of resource (potentially increasing cost unnecessarily in a consumption plan)
To Reproduce
Steps to reproduce the behavior:
Expected behavior
No call to the function should be made until a tenant is selected
Desktop (please complete the following information):
@KelvinTegelaar commented on GitHub (Oct 15, 2021):
Partly fixed by using an async call, which removes the micro-hang, but the actual fix is removing the unrequired query in the datatables files.
@redanthrax commented on GitHub (Oct 18, 2021):
fixing