mirror of
https://github.com/portainer/portainer.git
synced 2025-07-25 00:09:40 +02:00
fix(edge/stacks): clear templates values on change method [EE-6390] (#10707)
This commit is contained in:
parent
5c59c53e91
commit
7a9436dad7
3 changed files with 13 additions and 5 deletions
|
@ -137,3 +137,11 @@ function TemplateSelector({
|
|||
onChange(value);
|
||||
}
|
||||
}
|
||||
|
||||
export function getInitialTemplateValues() {
|
||||
return {
|
||||
template: null,
|
||||
variables: [],
|
||||
file: '',
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue