Formatting

This commit is contained in:
kolaente 2021-07-27 22:24:05 +02:00
parent f765526e2c
commit 088c615eb7
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 11 additions and 11 deletions

View File

@ -96,28 +96,28 @@
:to="{ name: 'list.index', params: { listId: l.id} }"
tag="span"
>
<span class="icon handle">
<icon icon="grip-lines"/>
</span>
<span class="icon handle">
<icon icon="grip-lines"/>
</span>
<span
:style="{ backgroundColor: l.hexColor }"
class="color-bubble"
v-if="l.hexColor !== ''">
</span>
</span>
<span class="list-menu-title">
{{ getListTitle(l) }}
</span>
{{ getListTitle(l) }}
</span>
<span
:class="{'is-favorite': l.isFavorite}"
@click.stop="toggleFavoriteList(l)"
class="favorite">
<icon icon="star" v-if="l.isFavorite"/>
<icon :icon="['far', 'star']" v-else/>
</span>
<icon icon="star" v-if="l.isFavorite"/>
<icon :icon="['far', 'star']" v-else/>
</span>
</router-link>
<list-settings-dropdown :list="l" v-if="l.id > 0"/>
<span class="list-setting-spacer" v-else></span>
</li>
</li>
</transition-group>
</draggable>
</ul>
@ -206,7 +206,7 @@ export default {
const listAfter = listsFiltered[e.newIndex + 1] ?? null
list.position = calculateItemPosition(listBefore !== null ? listBefore.position : null, listAfter !== null ? listAfter.position : null)
this.$store.dispatch('lists/updateList', list)
.catch(e => {
this.error(e)