Moved list name edit inside list settings

This commit is contained in:
Roman Cervantes 2019-07-10 16:24:37 -07:00
parent ba4dc0292e
commit 3bcad9eaec

View file

@ -8,19 +8,19 @@
</div>
<div v-else-if="editing">
<strong>{{ list[listIndex].name }}</strong> settings
<list-name-edit
:list-name="name"
:list-index="listIndex"
@update="updateLists('List name saved')"
/>
</div>
<list-name-edit
v-else
:list-name="name"
:list-index="listIndex"
:game-count="games.length"
@update="updateLists('List name saved')"
/>
<div v-else>
{{ list[listIndex].name }} ({{ games.length }})
</div>
<button class="small" @click="editList" v-if="!editing && !searching">
<i class="fas fa-cog" />
<i class="fas fa-sliders-h" />
</button>
</div>