From b9bc2417e7a8dc81feb0abe20359bedaf864f790 Mon Sep 17 00:00:00 2001
From: "John Molakvoæ (skjnldsv)" <skjnldsv@protonmail.com>
Date: Wed, 25 Sep 2019 18:19:42 +0200
Subject: Comply to eslint
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
---
 apps/oauth2/src/components/OAuthItem.vue | 34 +++++++++++++++++---------------
 1 file changed, 18 insertions(+), 16 deletions(-)

(limited to 'apps/oauth2/src/components/OAuthItem.vue')

diff --git a/apps/oauth2/src/components/OAuthItem.vue b/apps/oauth2/src/components/OAuthItem.vue
index 361c5ed5032..2d670447d72 100644
--- a/apps/oauth2/src/components/OAuthItem.vue
+++ b/apps/oauth2/src/components/OAuthItem.vue
@@ -21,11 +21,13 @@
   -->
 <template>
 	<tr>
-		<td>{{name}}</td>
-		<td>{{redirectUri}}</td>
-		<td><code>{{clientId}}</code></td>
-		<td><code>{{renderedSecret}}</code><a class='icon-toggle has-tooltip' :title="t('oauth2', 'Show client secret')" @click="toggleSecret"></a></td>
-		<td class="action-column"><span><a class="icon-delete has-tooltip" :title="t('oauth2', 'Delete')" @click="$emit('delete', id)"></a></span></td>
+		<td>{{ name }}</td>
+		<td>{{ redirectUri }}</td>
+		<td><code>{{ clientId }}</code></td>
+		<td><code>{{ renderedSecret }}</code><a class="icon-toggle has-tooltip" :title="t('oauth2', 'Show client secret')" @click="toggleSecret" /></td>
+		<td class="action-column">
+			<span><a class="icon-delete has-tooltip" :title="t('oauth2', 'Delete')" @click="$emit('delete', id)" /></span>
+		</td>
 	</tr>
 </template>
 
@@ -39,27 +41,27 @@ export default {
 		}
 	},
 	data: function() {
-			return {
-				id: this.client.id,
-				name: this.client.name,
-				redirectUri: this.client.redirectUri,
-				clientId: this.client.clientId,
-				clientSecret: this.client.clientSecret,
-				renderSecret: false,
-			};
+		return {
+			id: this.client.id,
+			name: this.client.name,
+			redirectUri: this.client.redirectUri,
+			clientId: this.client.clientId,
+			clientSecret: this.client.clientSecret,
+			renderSecret: false
+		}
 	},
 	computed: {
 		renderedSecret: function() {
 			if (this.renderSecret) {
-				return this.clientSecret;
+				return this.clientSecret
 			} else {
-				return '****';
+				return '****'
 			}
 		}
 	},
 	methods: {
 		toggleSecret() {
-			this.renderSecret = !this.renderSecret;
+			this.renderSecret = !this.renderSecret
 		}
 	}
 }
-- 
cgit v1.2.3

