consul/ui-v2/app
John Cowen 8d4631526c
ui: Fix token duplication bug (#7552)
We need to detect whether an object is an ember-data snapshot or just a
plain object, and we where restricted from using `instanceof` due to
ember-data's `Snapshot` class being private.

We'd chosen to go with `constructor.name` instead, which seemed to work,
but when the javascript gets minifed the name of the contructor is also
minified and therefore is not what you are expecting.

This commit reverts to our original idea of checking for the existence
and type of the `.attributes` function, which is the function we require
within the conditional, and therefore is more reliable (if the function
doesn't exist it will error out during development aswell as production)
2020-04-01 09:55:20 +01:00
..
adapters ui: Fix token duplication bug (#7552) 2020-04-01 09:55:20 +01:00
components ui: Discovery chain improvements (#7222) 2020-02-06 12:06:47 +00:00
computed
controllers ui: Use WithEventSource mixin on intentions to ensure cleanup (#7333) 2020-02-21 14:00:33 +00:00
forms
helpers ui: Enable recovery from an unreachable datacenter (500 error) (#7404) 2020-03-09 09:10:47 +00:00
initializers
instance-initializers ui: Add live updates/blocking queries to the Intention listing page (#7161) 2020-01-29 16:22:31 +00:00
mixins
models
routes ui: Enable recovery from an unreachable datacenter (500 error) (#7404) 2020-03-09 09:10:47 +00:00
routing
search/filters ui: Add ability to search nodes listing page with IP Address (#7204) 2020-02-04 10:45:25 -05:00
serializers
services ui: Ensure blocking query configuration is passed through to findInstanceBySlug (#7543) 2020-03-30 15:23:06 +01:00
styles ui: Be more specific with the display toggling checkboxes (#7309) 2020-02-18 17:05:45 +00:00
templates ui: Use the `each key=""` parameter to force ember to reuse DOM (#7550) 2020-03-31 14:58:59 +01:00
utils ui: Discovery chain improvements (#7222) 2020-02-06 12:06:47 +00:00
validations
app.js
env.js
index.html
resolver.js
router.js