aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ui/app/actions.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/ui/app/actions.js b/ui/app/actions.js
index 58b5d13d4..cf4a57da1 100644
--- a/ui/app/actions.js
+++ b/ui/app/actions.js
@@ -1833,6 +1833,11 @@ function hideAlert () {
}
}
+/**
+ * This action will receive two types of values via qrCodeData
+ * an object with the following structure {type, values}
+ * or null (used to clear the previous value)
+ */
function qrCodeDetected (qrCodeData) {
return {
type: actions.QR_CODE_DETECTED,