Prevent saving environment roles as empty strings

This commit is contained in:
Montana
2018-09-25 08:36:50 -04:00
parent e1767488c7
commit 8fd1d93f2e
4 changed files with 3 additions and 7 deletions

View File

@@ -74,8 +74,6 @@
</span>
<div class='project-list-item__environment__actions'>
<div>{{ form.data["environment_role"] }}</div>
<span v-bind:class="label_class" v-html:on=displayName></span>
<button v-on:click="openModal('{{ env.name }}RolesModal')" type="button" class="icon-link">set role</button>
{% call Modal(name=env.name + 'RolesModal', dismissable=False) %}