diff options
author | Carl Schwan <carl@carlschwan.eu> | 2022-05-20 17:07:21 +0200 |
---|---|---|
committer | Carl Schwan <carl@carlschwan.eu> | 2022-07-14 12:16:13 +0200 |
commit | 53db418ee90eb366dc4488afcb02c8a6d5085097 (patch) | |
tree | de00140c7fd92bf85bdf6853197abbf093396849 /apps/oauth2/src/components/OAuthItem.vue | |
parent | d3f66e2310ef790794aba81f12d7ab6a035736c3 (diff) | |
download | nextcloud-server-53db418ee90eb366dc4488afcb02c8a6d5085097.tar.gz nextcloud-server-53db418ee90eb366dc4488afcb02c8a6d5085097.zip |
Cleanup oauth2 admin settings
- Use more vue components
- Add link to doc
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Diffstat (limited to 'apps/oauth2/src/components/OAuthItem.vue')
-rw-r--r-- | apps/oauth2/src/components/OAuthItem.vue | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/apps/oauth2/src/components/OAuthItem.vue b/apps/oauth2/src/components/OAuthItem.vue index 72d04d2aac3..6f4c5ad0f7e 100644 --- a/apps/oauth2/src/components/OAuthItem.vue +++ b/apps/oauth2/src/components/OAuthItem.vue @@ -42,14 +42,29 @@ </table> </td> <td class="action-column"> - <span><a class="icon-delete has-tooltip" :title="t('oauth2', 'Delete')" @click="$emit('delete', id)" /></span> + <Button type="tertiary-no-background" + :aria-label="t('oauth2', 'Delete')" + @click="$emit('delete', id)"> + <template #icon> + <Delete :size="20" + :title="t('oauth2', 'Delete')" /> + </template> + </Button> </td> </tr> </template> <script> + +import Delete from 'vue-material-design-icons/Delete' +import Button from '@nextcloud/vue/dist/Components/Button' + export default { name: 'OAuthItem', + components: { + Delete, + Button, + }, props: { client: { type: Object, |