open-consul/ui/packages/consul-ui/app/templates/dc/services/show
John Cowen 3ab747109b
ui: [BUGFIX] Fixes an issue when editing intentions from the service > intentions sub tab (#11937)
We recently changed the intentions form to take a full model of a dc rather than just the string identifier (so {Name: 'dc', Primary: true} vs just 'dc' in order to know whether the DC is the primary or not.

Unfortunately, we only did this on the global intentions page not the per service intentions page. This makes it impossible to save an intention from the per service intention page (whilst you can still save intentions from the global intention page as normal).

The fix here pretty much copy/pastes the approach taken in the global intention edit template over to the per service intention edit template.

Tests have been added for creation in the per service intention section, which again are pretty much just copied from the global one, unfortunately this didn't exist previously which would have helped prevent this.
2022-01-07 19:09:40 +00:00
..
intentions ui: [BUGFIX] Fixes an issue when editing intentions from the service > intentions sub tab (#11937) 2022-01-07 19:09:40 +00:00
index.hbs ui: Partitions Application Layer (#11017) 2021-09-15 19:50:11 +01:00
instances.hbs ui: Partitions Application Layer (#11017) 2021-09-15 19:50:11 +01:00
intentions.hbs ui: Move control of login modal to use JS rather than HTML (label/id) (#9883) 2021-04-06 13:40:40 +01:00
routing.hbs ui: Partitions Application Layer (#11017) 2021-09-15 19:50:11 +01:00
services.hbs ui: Adds basic support for partition exports to Service listings (#11702) 2021-12-06 11:06:33 +00:00
tags.hbs ui: Partitions Application Layer (#11017) 2021-09-15 19:50:11 +01:00
topology.hbs ui: Add Service.Partition as available variable for dashboard urls (#11654) 2021-12-01 11:05:57 +00:00
upstreams.hbs ui: Adds basic support for partition exports to Service listings (#11702) 2021-12-06 11:06:33 +00:00