mirror of
https://github.com/portainer/portainer.git
synced 2025-07-29 18:29:44 +02:00
updated API response to get IsComposeFormat and show appropriate text.
This commit is contained in:
parent
47c32df77a
commit
b5c59c8982
3 changed files with 24 additions and 11 deletions
|
@ -1024,9 +1024,8 @@ class KubernetesCreateApplicationController {
|
|||
if (this.application.ApplicationKind) {
|
||||
this.state.appType = this.KubernetesDeploymentTypes[this.application.ApplicationKind.toUpperCase()];
|
||||
if (this.application.StackId) {
|
||||
if (this.application.ApplicationKind === this.KubernetesDeploymentTypes.GIT) {
|
||||
this.stack = await this.StackService.stack(this.application.StackId);
|
||||
} else if (this.application.ApplicationKind === this.KubernetesDeploymentTypes.CONTENT) {
|
||||
this.stack = await this.StackService.stack(this.application.StackId);
|
||||
if (this.application.ApplicationKind === this.KubernetesDeploymentTypes.CONTENT) {
|
||||
this.stackFileContent = await this.StackService.getStackFile(this.application.StackId);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue