From ca5b13d3eb63d84a00ff6e7dbc759c3236167e32 Mon Sep 17 00:00:00 2001 From: Andreas Nedbal Date: Sat, 30 Apr 2022 22:59:51 +0200 Subject: [PATCH 1/3] refactor(client): refactor integration to use Composition API --- .../client/src/pages/settings/integration.vue | 192 ++++++++---------- 1 file changed, 83 insertions(+), 109 deletions(-) diff --git a/packages/client/src/pages/settings/integration.vue b/packages/client/src/pages/settings/integration.vue index ca36c9166540..e0c0a30770e3 100644 --- a/packages/client/src/pages/settings/integration.vue +++ b/packages/client/src/pages/settings/integration.vue @@ -2,132 +2,106 @@
-

{{ $ts.connectedTo }}: @{{ integrations.twitter.screenName }}

- {{ $ts.disconnectService }} - {{ $ts.connectService }} +

{{ i18n.ts.connectedTo }}: @{{ integrations.twitter.screenName }}

+ {{ i18n.ts.disconnectService }} + {{ i18n.ts.connectService }}
-

{{ $ts.connectedTo }}: @{{ integrations.discord.username }}#{{ integrations.discord.discriminator }}

- {{ $ts.disconnectService }} - {{ $ts.connectService }} +

{{ i18n.ts.connectedTo }}: @{{ integrations.discord.username }}#{{ integrations.discord.discriminator }}

+ {{ i18n.ts.disconnectService }} + {{ i18n.ts.connectService }}
-

{{ $ts.connectedTo }}: @{{ integrations.github.login }}

- {{ $ts.disconnectService }} - {{ $ts.connectService }} +

{{ i18n.ts.connectedTo }}: @{{ integrations.github.login }}

+ {{ i18n.ts.disconnectService }} + {{ i18n.ts.connectService }}
- From 0202df2690864c74b72b89159c93f2d531fc6313 Mon Sep 17 00:00:00 2001 From: Andreas Nedbal Date: Sat, 30 Apr 2022 23:04:07 +0200 Subject: [PATCH 2/3] fix(client): drop superfluous enable* constants --- packages/client/src/pages/settings/integration.vue | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/packages/client/src/pages/settings/integration.vue b/packages/client/src/pages/settings/integration.vue index e0c0a30770e3..61e12eb20399 100644 --- a/packages/client/src/pages/settings/integration.vue +++ b/packages/client/src/pages/settings/integration.vue @@ -1,20 +1,20 @@