aboutsummaryrefslogtreecommitdiffstats
path: root/apps/oauth2/src
diff options
context:
space:
mode:
authordependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>2019-11-13 12:05:10 +0000
committerChristoph Wurst <christoph@winzerhof-wurst.at>2019-12-19 11:55:33 +0100
commitec01e0a790448fff38364f629a4de4edb5d465bf (patch)
tree8fb5369e3d6f9f805025802e12feaa4dfaef1e03 /apps/oauth2/src
parent5d9fd7ba0cced84f1d07627b0860ac5490de164d (diff)
downloadnextcloud-server-ec01e0a790448fff38364f629a4de4edb5d465bf.tar.gz
nextcloud-server-ec01e0a790448fff38364f629a4de4edb5d465bf.zip
Bump eslint-config-nextcloud from 0.0.6 to 0.1.0
Bumps [eslint-config-nextcloud](https://github.com/nextcloud/eslint-config-nextcloud) from 0.0.6 to 0.1.0. - [Release notes](https://github.com/nextcloud/eslint-config-nextcloud/releases) - [Commits](https://github.com/nextcloud/eslint-config-nextcloud/compare/v0.0.6...v0.1.0) Co-authored-by: Christoph Wurst <christoph@winzerhof-wurst.at> Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'apps/oauth2/src')
-rw-r--r--apps/oauth2/src/App.vue16
-rw-r--r--apps/oauth2/src/components/OAuthItem.vue12
-rw-r--r--apps/oauth2/src/main.js4
3 files changed, 16 insertions, 16 deletions
diff --git a/apps/oauth2/src/App.vue b/apps/oauth2/src/App.vue
index 9f720be796e..e18502ee6f3 100644
--- a/apps/oauth2/src/App.vue
+++ b/apps/oauth2/src/App.vue
@@ -80,13 +80,13 @@ import { generateUrl } from '@nextcloud/router'
export default {
name: 'App',
components: {
- OAuthItem
+ OAuthItem,
},
props: {
clients: {
type: Array,
- required: true
- }
+ required: true,
+ },
},
data: function() {
return {
@@ -94,8 +94,8 @@ export default {
name: '',
redirectUri: '',
errorMsg: '',
- error: false
- }
+ error: false,
+ },
}
},
methods: {
@@ -112,7 +112,7 @@ export default {
generateUrl('apps/oauth2/clients'),
{
name: this.newClient.name,
- redirectUri: this.newClient.redirectUri
+ redirectUri: this.newClient.redirectUri,
}
).then(response => {
this.clients.push(response.data)
@@ -123,7 +123,7 @@ export default {
this.newClient.error = true
this.newClient.errorMsg = reason.response.data.message
})
- }
- }
+ },
+ },
}
</script>
diff --git a/apps/oauth2/src/components/OAuthItem.vue b/apps/oauth2/src/components/OAuthItem.vue
index 2d670447d72..8da5442ab5e 100644
--- a/apps/oauth2/src/components/OAuthItem.vue
+++ b/apps/oauth2/src/components/OAuthItem.vue
@@ -37,8 +37,8 @@ export default {
props: {
client: {
type: Object,
- required: true
- }
+ required: true,
+ },
},
data: function() {
return {
@@ -47,7 +47,7 @@ export default {
redirectUri: this.client.redirectUri,
clientId: this.client.clientId,
clientSecret: this.client.clientSecret,
- renderSecret: false
+ renderSecret: false,
}
},
computed: {
@@ -57,13 +57,13 @@ export default {
} else {
return '****'
}
- }
+ },
},
methods: {
toggleSecret() {
this.renderSecret = !this.renderSecret
- }
- }
+ },
+ },
}
</script>
diff --git a/apps/oauth2/src/main.js b/apps/oauth2/src/main.js
index 61aea381151..42fcb522eca 100644
--- a/apps/oauth2/src/main.js
+++ b/apps/oauth2/src/main.js
@@ -32,7 +32,7 @@ const clients = loadState('oauth2', 'clients')
const View = Vue.extend(App)
const oauth = new View({
propsData: {
- clients
- }
+ clients,
+ },
})
oauth.$mount('#oauth2')