V2Wizrd: clean resource group when user change the source name
this commit fix https://github.com/osbuild/image-builder-frontend/issues/1691 when user change the source name, resource gruop should clean up
This commit is contained in:
parent
2dc1ac5f88
commit
89bee6a723
1 changed files with 1 additions and 0 deletions
|
|
@ -68,6 +68,7 @@ export const AzureSourcesSelect = () => {
|
|||
(source) => source?.name === sourceName
|
||||
)?.id;
|
||||
dispatch(changeAzureSource(sourceId || ''));
|
||||
dispatch(changeAzureResourceGroup(''));
|
||||
setIsOpen(false);
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue