open-consul/ui/packages/consul-ui/app/templates/dc
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
..
acls ui: Fix up missing policy delete warning modal (#11868) 2021-12-21 06:40:55 +00:00
intentions ui: Ensure we check intention service prefix permissions for per service (#11409) 2021-11-04 12:10:28 +00:00
kv ui: Fix URL params decoding (#11931) 2022-01-04 16:08:06 +00:00
nodes ui: Various empty state improvements/fixups (#11892) 2021-12-21 06:49:18 +00:00
services ui: [BUGFIX] Fixes an issue when editing intentions from the service > intentions sub tab (#11937) 2022-01-07 19:09:40 +00:00
acls.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-config.hbs ui: Partitions Application Layer (#11017) 2021-09-15 19:50:11 +01:00