aboutsummaryrefslogtreecommitdiffstats
path: root/apps/oauth2/src/components/OAuthItem.vue
diff options
context:
space:
mode:
authorCarl Schwan <carl@carlschwan.eu>2022-05-20 17:07:21 +0200
committerCarl Schwan <carl@carlschwan.eu>2022-07-14 12:16:13 +0200
commit53db418ee90eb366dc4488afcb02c8a6d5085097 (patch)
treede00140c7fd92bf85bdf6853197abbf093396849 /apps/oauth2/src/components/OAuthItem.vue
parentd3f66e2310ef790794aba81f12d7ab6a035736c3 (diff)
downloadnextcloud-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.vue17
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,