Files
nomad/ui/app
pangratz 7d175edcec fix: ensure reloading an allocation doesn't result in an infinite loop
`allocation.reload()` has differnt semantics for reloading, as it will
reload the record in the background and immediately resolve [1].

By using the stores' findRecord and specifying `backgroundReload:
false`, we make sure we await the response from the server and hereby
have the complete record once we continue in the code.

Using `allocation.reoad()` causes and infinite loop when we upgrade
ember-data to 3.16 (and model fragments to 5.0.0-beta.2).

[1] This is, unless `shouldBackgroundReload` on the adapter returns
false, but it's true by default.
2021-11-04 16:27:40 +01:00
..
2020-05-26 14:54:59 -07:00
2020-10-15 02:54:13 -07:00
2021-10-12 16:36:10 -04:00
2021-02-17 15:01:44 -06:00
2021-10-22 09:40:38 -04:00