open-nomad/ui/app
pangratz 0fdedc344b 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
..
abilities ui: add parameterized dispatch interface (#10675) 2021-07-20 18:27:41 -04:00
adapters ui: add parameterized dispatch interface (#10675) 2021-07-20 18:27:41 -04:00
components fix: ensure reloading an allocation doesn't result in an infinite loop 2021-11-04 16:27:40 +01:00
controllers ui: display Nomad version in the Clients and Servers table (#11366) 2021-10-22 10:33:06 -04:00
helpers
initializers
mixins
models ui: display Nomad version in the Clients and Servers table (#11366) 2021-10-22 10:33:06 -04:00
modifiers
routes System Batch UI, Client Status Bar Chart and Client Tab page view (#11078) 2021-10-07 17:11:38 -04:00
serializers Update job details box (#11288) 2021-10-12 16:36:10 -04:00
services Capture ACL Token from self API call for Reverse Proxy use-case (#10563) 2021-07-12 20:42:08 -04:00
styles Update job details box (#11288) 2021-10-12 16:36:10 -04:00
templates ui: update task group alloc summary chart to use new SummaryLegendItem component (#11375) 2021-10-25 11:14:01 -04:00
utils System Batch UI, Client Status Bar Chart and Client Tab page view (#11078) 2021-10-07 17:11:38 -04:00
app.js
breakpoints.js
index.html ui: update favicon (#11371) 2021-10-22 09:40:38 -04:00
router.js System Batch UI, Client Status Bar Chart and Client Tab page view (#11078) 2021-10-07 17:11:38 -04:00