diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2018-07-04 08:23:21 +0200 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2018-07-04 08:23:21 +0200 |
commit | ba08019429c6b77fd1695faf458a8426067c46f9 (patch) | |
tree | 8b6b1893db61e3ca9168a7a13031b40036af6f55 /apps/oauth2/src | |
parent | aa64584d679d0d5836ce2e08197d58fe2f8f4a86 (diff) | |
download | nextcloud-server-ba08019429c6b77fd1695faf458a8426067c46f9.tar.gz nextcloud-server-ba08019429c6b77fd1695faf458a8426067c46f9.zip |
Do not show OAuth2 table if it is empty
For #10094
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'apps/oauth2/src')
-rw-r--r-- | apps/oauth2/src/App.vue | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/oauth2/src/App.vue b/apps/oauth2/src/App.vue index 32a0b07a011..c9c01fc11e0 100644 --- a/apps/oauth2/src/App.vue +++ b/apps/oauth2/src/App.vue @@ -23,7 +23,7 @@ <div id="oauth2" class="section"> <h2>{{ t('oauth2', 'OAuth 2.0 clients') }}</h2> <p class="settings-hint">{{ t('oauth2', 'OAuth 2.0 allows external services to request access to {instanceName}.', { instanceName: oc_defaults.name}) }}</p> - <table class="grid"> + <table class="grid" v-if="clients.length > 0"> <thead> <tr> <th id="headerName" scope="col">{{ t('oauth2', 'Name') }}</th> |