Skip to content

Commit

Permalink
Do not show OAuth2 table if it is empty
Browse files Browse the repository at this point in the history
For #10094

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
  • Loading branch information
rullzer committed Jul 4, 2018
1 parent aa64584 commit ba08019
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 7 deletions.
2 changes: 1 addition & 1 deletion apps/oauth2/js/oauth2.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion apps/oauth2/js/oauth2.js.map

Large diffs are not rendered by default.

13 changes: 9 additions & 4 deletions apps/oauth2/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion apps/oauth2/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit ba08019

Please sign in to comment.