consul/ui/packages/consul-ui/app/templates
John Cowen adb0fa38d2
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
..
dc ui: [BUGFIX] Fixes an issue when editing intentions from the service > intentions sub tab (#11937) 2022-01-07 19:09:40 +00:00
application.hbs ui: When certain menus are selected reset either nspace/partition (#11479) 2021-11-17 15:59:26 +00:00
dc.hbs ui: Add Route component / routlet service (#9813) 2021-03-08 12:15:54 +00:00
debug.hbs ui: Move nspace CRUD to use the same approach as partitions (#11633) 2021-12-01 11:04:02 +00:00
error.hbs
index.hbs ui: Partitions Application Layer (#11017) 2021-09-15 19:50:11 +01:00
loading.hbs
notfound.hbs ui: Partitions Application Layer (#11017) 2021-09-15 19:50:11 +01:00
oauth-provider-debug.hbs ui: Improve dev-time SSO/OIDC visibility (#11248) 2021-10-11 16:03:59 +01:00
settings.hbs ui: Partitions Application Layer (#11017) 2021-09-15 19:50:11 +01:00