Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/marius-wieschollek/passwords-webextension.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src/vue
diff options
context:
space:
mode:
authorMarius David Wieschollek <passwords.public@mdns.eu>2021-01-16 14:06:56 +0300
committerMarius David Wieschollek <passwords.public@mdns.eu>2021-01-16 14:06:56 +0300
commit7ca320f77ec3e59db37ae8bd73bf1706cbf5c906 (patch)
treedbbed7cbc49da083a9482439044ce6123f64fb22 /src/vue
parent0e8631ceced9f62445737e09bb80a7df6436298d (diff)
Add support for chrome passlink
Signed-off-by: Marius David Wieschollek <passwords.public@mdns.eu>
Diffstat (limited to 'src/vue')
-rw-r--r--src/vue/Components/Firstrun/Steps/ServerSetup.vue13
1 files changed, 2 insertions, 11 deletions
diff --git a/src/vue/Components/Firstrun/Steps/ServerSetup.vue b/src/vue/Components/Firstrun/Steps/ServerSetup.vue
index 740703f..9f832b8 100644
--- a/src/vue/Components/Firstrun/Steps/ServerSetup.vue
+++ b/src/vue/Components/Firstrun/Steps/ServerSetup.vue
@@ -3,9 +3,8 @@
<translate tag="h2" say="FirstRunConnectTitle"/>
<translate say="FirstRunConnectText"/>
<ul class="sever-setup-options">
- <translate tag="li" say="FirstRunConnectLink" v-if="hasLinkHandler"/>
- <translate tag="li" say="FirstRunConnectScan" v-if="hasLinkHandler"/>
- <translate tag="li" class="link" say="FirstRunConnectScanChrome" v-if="!hasLinkHandler" @click="scanQr"/>
+ <translate tag="li" say="FirstRunConnectLink" />
+ <translate tag="li" say="FirstRunConnectScan" />
<translate tag="li" class="link" say="FirstRunConnectManual" @click="openSettings"/>
</ul>
<button-field value="FirstRunConnectScanButton" @click="scanQr"/>
@@ -22,14 +21,6 @@
export default {
components: {ButtonField, Translate},
- data() {
- return {
- hasLinkHandler: SystemService.hasProtocolHandlers()
- };
- },
-
- computed: {},
-
methods: {
scanQr() {
MessageService.send({type: 'passlink.open', payload: {action: 'scan-qr'}})