Skip to content

Commit af8aae7

Browse files
committed
Show stream dropdown only during creation
1 parent 5458b5a commit af8aae7

File tree

1 file changed

+11
-6
lines changed

1 file changed

+11
-6
lines changed

dashboard/index.html

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -277,12 +277,17 @@ <h3 class="title is-size-4" style="color:#1B120D">Dashboard</h3>
277277

278278

279279
<td>
280-
<div class="select">
281-
<select @change="changeToxic('stream', $event.target.value)" v-bind:value="stream">
282-
<option>downstream</option>
283-
<option>upstream</option>
284-
</select>
285-
</div>
280+
<template v-if="newToxic">
281+
<div class="select">
282+
<select @change="changeToxic('stream', $event.target.value)" v-bind:value="stream">
283+
<option>downstream</option>
284+
<option>upstream</option>
285+
</select>
286+
</div>
287+
</template>
288+
<template v-else>
289+
{{ stream }}
290+
</template>
286291
</td>
287292

288293
<td>

0 commit comments

Comments
 (0)