mirror of
https://github.com/portainer/portainer.git
synced 2025-08-09 07:45:22 +02:00
refactor(gitops): migrate git form to react [EE-4849] (#8268)
This commit is contained in:
parent
afe6cd6df0
commit
273a3f9a10
130 changed files with 3194 additions and 1190 deletions
|
@ -39,7 +39,9 @@ class KubeManifestFormController {
|
|||
}
|
||||
|
||||
onChangeMethod(method) {
|
||||
this.state.Method = method;
|
||||
return this.$async(async () => {
|
||||
this.state.Method = method;
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -32,10 +32,4 @@
|
|||
</file-upload-description>
|
||||
</file-upload-form>
|
||||
|
||||
<git-form
|
||||
ng-if="$ctrl.state.Method === 'repository'"
|
||||
deploy-method="kubernetes"
|
||||
model="$ctrl.formValues"
|
||||
on-change="($ctrl.onChangeFormValues)"
|
||||
hide-rebuild-info="true"
|
||||
></git-form>
|
||||
<git-form ng-if="$ctrl.state.Method === 'repository'" deploy-method="kubernetes" value="$ctrl.formValues" on-change="($ctrl.onChangeFormValues)"></git-form>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue