You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix(cloud-registry): react to provider changes #448
ecc-client-elixir-cloud-registry-service-create reads its provider property only in firstUpdated(). Its updated() reacts only to baseUrl.
Apps may set or replace provider after the first render, e.g. once the user's token or roles are known. The component then keeps using the old one. So apps have to wait to render the component until the provider is final, as elixir-cloud-aai/cloud-registry-ui#12 does.
What?
In updated(), react to changes of provider as for baseUrl, and reload the service types.
Acceptance criteria
When an app replaces provider on a rendered component, all later requests use the new provider.
Activity