mirror of
https://github.com/romancm/gamebrary
synced 2024-11-24 12:13:08 +00:00
Moved list name edit inside list settings
This commit is contained in:
parent
ba4dc0292e
commit
3bcad9eaec
1 changed files with 9 additions and 9 deletions
|
@ -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>
|
||||
|
||||
|
|
Loading…
Reference in a new issue