Client - display pagination on oauth apps list only when apps exist
This commit is contained in:
parent
7e45923b25
commit
7b3c44e21e
@ -18,7 +18,12 @@
|
|||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
<div class="no-apps" v-else>{{ $t('oauth2.NO_APPS') }}</div>
|
<div class="no-apps" v-else>{{ $t('oauth2.NO_APPS') }}</div>
|
||||||
<Pagination :pagination="pagination" path="/profile/apps" :query="query" />
|
<Pagination
|
||||||
|
v-if="clients.length > 0"
|
||||||
|
:pagination="pagination"
|
||||||
|
path="/profile/apps"
|
||||||
|
:query="query"
|
||||||
|
/>
|
||||||
<div class="app-list-buttons">
|
<div class="app-list-buttons">
|
||||||
<button @click="$router.push('/profile/apps/new')">
|
<button @click="$router.push('/profile/apps/new')">
|
||||||
{{ $t('oauth2.NEW_APP') }}
|
{{ $t('oauth2.NEW_APP') }}
|
||||||
@ -111,6 +116,7 @@
|
|||||||
}
|
}
|
||||||
.no-apps {
|
.no-apps {
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
|
padding-bottom: $default-padding * 2;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
Loading…
Reference in New Issue
Block a user