Files
directus/packages/shared
Azri Kahar fdeddf0118 Fix use-items loading state when an existing request gets canceled (#16881)
* prevent canceled requests from clearing loadingTimeout

* rename CancelTokenSource variable

* don't set loading to false if there's still loadingTimeout

* updated request cancellation to use the abort controller

* azri's getItemCount fix

* prevent cancelled requests from throwing errors

* prevent count request from firing twice

* Remove fetchOnInit option

Co-authored-by: Brainslug <tim@brainslug.nl>
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2022-12-22 21:31:43 +00:00
..
2021-06-23 12:43:06 -04:00
2021-06-23 12:43:06 -04:00
2021-06-23 12:43:06 -04:00
2021-06-23 12:43:06 -04:00
2022-12-21 17:12:11 -05:00
2021-06-23 12:43:06 -04:00
2021-06-23 12:43:06 -04:00

@directus/shared

Code shared between all directus packages.


⚠️ This package is intended for internal use only.