Skip to content

Commit

Permalink
Show stream dropdown only during creation
Browse files Browse the repository at this point in the history
  • Loading branch information
akash-akya committed Jul 2, 2018
1 parent 14c5fb1 commit b939bc7
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions dashboard/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -277,12 +277,17 @@ <h3 class="title is-size-4" style="color:#1B120D">Dashboard</h3>


<td>
<div class="select">
<select @change="changeToxic('stream', $event.target.value)" v-bind:value="stream">
<option>downstream</option>
<option>upstream</option>
</select>
</div>
<template v-if="newToxic">
<div class="select">
<select @change="changeToxic('stream', $event.target.value)" v-bind:value="stream">
<option>downstream</option>
<option>upstream</option>
</select>
</div>
</template>
<template v-else>
{{ stream }}
</template>
</td>

<td>
Expand Down

0 comments on commit b939bc7

Please sign in to comment.