Skip to content

Commit 2a3eeab

Browse files
committed
fix editing domain on a app
1 parent d38dd47 commit 2a3eeab

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

client/src/components/apps/new.vue

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
:counter="60"
2626
:readonly="app!='new'"
2727
label="App name"
28-
v-on="changeName(appname)"
28+
v-on:input="changeName(appname)"
2929
required
3030
></v-text-field>
3131
</v-col>
@@ -618,15 +618,13 @@ export default {
618618
this.docker.image = this.pipelineData.dockerimage;
619619
}
620620
621-
621+
this.loadBranches();
622622
this.buildpack = this.pipelineData.buildpack;
623623
624-
this.gitrepo.ssh_url = this.pipelineData.git.repository.ssh_url;
625-
this.domain = this.pipelineData.domain;
626-
627-
this.loadBranches();
628-
/*
629624
if (this.app == 'new') {
625+
this.domain = this.pipelineData.domain;
626+
this.gitrepo.ssh_url = this.pipelineData.git.repository.ssh_url;
627+
/*
630628
switch (this.pipelineData.github.repository.language) {
631629
case "JavaScript":
632630
this.buildpack = 'NodeJS';
@@ -639,8 +637,9 @@ export default {
639637
//this.buildpack = "";
640638
break;
641639
}
640+
*/
642641
}
643-
*/
642+
644643
});
645644
},
646645
loadBranches() {

0 commit comments

Comments
 (0)