@@ -183,6 +181,7 @@
if( this.$route.params.qrAccount ) {
this.form.fill(this.$route.params.qrAccount)
+ this.tempIcon = this.$route.params.qrAccount.icon ? this.$route.params.qrAccount.icon : null
this.isQuickForm = true
}
@@ -241,6 +240,7 @@
this.form.fill(data)
this.form.secretIsBase32Encoded = 1
+ this.tempIcon = data.icon ? data.icon : null
this.form.uri = '' // we don't want the uri because the user can change any otp parameter in the form
},
diff --git a/resources/js/views/twofaccounts/Edit.vue b/resources/js/views/twofaccounts/Edit.vue
index 2b448a1b..76708b1b 100644
--- a/resources/js/views/twofaccounts/Edit.vue
+++ b/resources/js/views/twofaccounts/Edit.vue
@@ -83,8 +83,6 @@