@ozdao/prometheus-framework 0.2.244 → 0.2.245

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ozdao/prometheus-framework",
3
- "version": "0.2.244",
3
+ "version": "0.2.245",
4
4
  "description": "Web3 Framework focused on user experience and ease of development.",
5
5
  "author": "OZ DAO <hello@ozdao.dev>",
6
6
  "license": "GPL-3.0-or-later",
@@ -106,9 +106,10 @@ async function processBarcode(barcode) {
106
106
 
107
107
  } catch (e) {
108
108
  console.error(e)
109
+ isProcessing.value = false
109
110
  alert(`Ticket is not found, already used or deactivated!`)
110
111
  // Сбрасываем флаг isProcessing в случае ошибки, чтобы можно было попробовать снова
111
- isProcessing.value = false
112
+
112
113
  }
113
114
  }
114
115
 
@@ -130,7 +131,7 @@ async function toggleTorch() {
130
131
  left: 0;
131
132
  width: 100%;
132
133
  height: 100%;
133
- background-color: rgba(0, 0, 0, 0.8);
134
+ background-color: rgba(0, 0, 0, 0);
134
135
  display: flex;
135
136
  flex-direction: column;
136
137
  justify-content: center;