表示条件などを微調整
This commit is contained in:
parent
9c16e7f1ef
commit
de00b0575a
|
@ -4,11 +4,7 @@ SPDX-License-Identifier: AGPL-3.0-only
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div v-if="gridItems.length === 0" style="text-align: center">
|
<MkStickyContainer>
|
||||||
{{ i18n.ts._customEmojisManager._local._list.emojisNothing }}
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<MkStickyContainer v-else>
|
|
||||||
<template #default>
|
<template #default>
|
||||||
<div class="_gaps">
|
<div class="_gaps">
|
||||||
<MkFolder>
|
<MkFolder>
|
||||||
|
@ -140,11 +136,17 @@ SPDX-License-Identifier: AGPL-3.0-only
|
||||||
|
|
||||||
<XRegisterLogsFolder :logs="requestLogs"/>
|
<XRegisterLogsFolder :logs="requestLogs"/>
|
||||||
|
|
||||||
|
<div v-if="gridItems.length === 0" style="text-align: center">
|
||||||
|
{{ i18n.ts._customEmojisManager._local._list.emojisNothing }}
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<template v-else>
|
||||||
<div :class="$style.gridArea">
|
<div :class="$style.gridArea">
|
||||||
<MkGrid :data="gridItems" :settings="setupGrid()" @event="onGridEvent"/>
|
<MkGrid :data="gridItems" :settings="setupGrid()" @event="onGridEvent"/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<MkPagingButtons :current="currentPage" :max="allPages" :buttonCount="5" @pageChanged="onPageChanged"/>
|
<MkPagingButtons :current="currentPage" :max="allPages" :buttonCount="5" @pageChanged="onPageChanged"/>
|
||||||
|
</template>
|
||||||
|
|
||||||
<div :class="$style.buttons">
|
<div :class="$style.buttons">
|
||||||
<MkButton danger style="margin-right: auto" @click="onDeleteButtonClicked">{{ i18n.ts.delete }}</MkButton>
|
<MkButton danger style="margin-right: auto" @click="onDeleteButtonClicked">{{ i18n.ts.delete }}</MkButton>
|
||||||
|
|
|
@ -76,11 +76,17 @@ SPDX-License-Identifier: AGPL-3.0-only
|
||||||
|
|
||||||
<XRegisterLogsFolder :logs="requestLogs"/>
|
<XRegisterLogsFolder :logs="requestLogs"/>
|
||||||
|
|
||||||
|
<div v-if="gridItems.length === 0" style="text-align: center">
|
||||||
|
{{ i18n.ts._customEmojisManager._local._list.emojisNothing }}
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<template v-else>
|
||||||
<div v-if="gridItems.length > 0" :class="$style.gridArea">
|
<div v-if="gridItems.length > 0" :class="$style.gridArea">
|
||||||
<MkGrid :data="gridItems" :settings="setupGrid()" @event="onGridEvent"/>
|
<MkGrid :data="gridItems" :settings="setupGrid()" @event="onGridEvent"/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<MkPagingButtons :current="currentPage" :max="allPages" :buttonCount="5" @pageChanged="onPageChanged"/>
|
<MkPagingButtons :current="currentPage" :max="allPages" :buttonCount="5" @pageChanged="onPageChanged"/>
|
||||||
|
</template>
|
||||||
|
|
||||||
<div v-if="gridItems.length > 0" class="_gaps" :class="$style.buttons">
|
<div v-if="gridItems.length > 0" class="_gaps" :class="$style.buttons">
|
||||||
<MkButton primary @click="onImportClicked">
|
<MkButton primary @click="onImportClicked">
|
||||||
|
|
Loading…
Reference in New Issue