This commit is contained in:
Henry Jameson 2022-08-17 00:49:07 +03:00
parent d074aefb4f
commit 77dcbe641c
2 changed files with 33 additions and 25 deletions

View File

@ -17,7 +17,9 @@
<i18n-t <i18n-t
keypath="lists.editing_list" keypath="lists.editing_list"
> >
<template #listTitle>{{ title }}</template> <template #listTitle>
{{ title }}
</template>
</i18n-t> </i18n-t>
</div> </div>
</div> </div>
@ -74,10 +76,16 @@
@loading="onSearchLoading" @loading="onSearchLoading"
@loadingDone="onSearchLoadingDone" @loadingDone="onSearchLoadingDone"
/> />
<div v-if="searchLoading" class="loading"> <div
v-if="searchLoading"
class="loading"
>
<PanelLoading /> <PanelLoading />
</div> </div>
<div v-else class="users-list"> <div
v-else
class="users-list"
>
<div <div
v-for="user in searchUsers" v-for="user in searchUsers"
:key="user.id" :key="user.id"
@ -114,9 +122,9 @@
<div class="panel-footer"> <div class="panel-footer">
<span class="spacer" /> <span class="spacer" />
<button <button
v-if="!reallyDelete"
class="btn button-default delete-button" class="btn button-default delete-button"
@click="reallyDelete = true" @click="reallyDelete = true"
v-if="!reallyDelete"
> >
{{ $t('lists.delete') }} {{ $t('lists.delete') }}
</button> </button>