diff options
Diffstat (limited to 'apps/oauth2/src')
-rw-r--r-- | apps/oauth2/src/App.vue | 4 | ||||
-rw-r--r-- | apps/oauth2/src/components/OAuthItem.vue | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/apps/oauth2/src/App.vue b/apps/oauth2/src/App.vue index e18502ee6f3..34b466ab7e2 100644 --- a/apps/oauth2/src/App.vue +++ b/apps/oauth2/src/App.vue @@ -88,7 +88,7 @@ export default { required: true, }, }, - data: function() { + data() { return { newClient: { name: '', @@ -100,7 +100,7 @@ export default { }, methods: { deleteClient(id) { - axios.delete(generateUrl('apps/oauth2/clients/{id}', { id: id })) + axios.delete(generateUrl('apps/oauth2/clients/{id}', { id })) .then((response) => { this.clients = this.clients.filter(client => client.id !== id) }) diff --git a/apps/oauth2/src/components/OAuthItem.vue b/apps/oauth2/src/components/OAuthItem.vue index 8da5442ab5e..3522a7d17c8 100644 --- a/apps/oauth2/src/components/OAuthItem.vue +++ b/apps/oauth2/src/components/OAuthItem.vue @@ -40,7 +40,7 @@ export default { required: true, }, }, - data: function() { + data() { return { id: this.client.id, name: this.client.name, @@ -51,7 +51,7 @@ export default { } }, computed: { - renderedSecret: function() { + renderedSecret() { if (this.renderSecret) { return this.clientSecret } else { |