Skip to content

Commit

Permalink
Merge pull request #123 from CodeKaio/113-removing-module-var
Browse files Browse the repository at this point in the history
πŸ› : bug fixes on edit module screen
  • Loading branch information
cdubuisson authored Aug 21, 2019
2 parents a4d3852 + 8dd43aa commit 82d8f23
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main/resources/templates/module.html
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ <h2>Module {{module.name}}</h2>
label-for="estimatedMonthlyCostDescription">
<b-input-group>
<b-input-group-text slot="append"><i class="fab fa-markdown"></i></b-input-group-text>
<b-form-textarea :id="estimatedMonthlyCostDescription" v-model="module.estimatedMonthlyCostDescription"></b-form-textarea>
<b-form-textarea id="estimatedMonthlyCostDescription" v-model="module.estimatedMonthlyCostDescription"></b-form-textarea>
</b-input-group>
</b-form-group>

Expand Down Expand Up @@ -189,10 +189,10 @@ <h2>Variables <button type="button" class="btn btn-success" @click="addVar()">+<
});
},
removeVar(varIdx){
data.variables.splice(varIdx,1);
data.module.variables.splice(varIdx,1);
},
addVar(){
data.variables.push({});
data.module.variables.push({});
}
}
});
Expand Down

0 comments on commit 82d8f23

Please sign in to comment.