-
- {{ title }}
-
diff --git a/frontend/src/components/ListSecrets.vue b/frontend/src/components/ListSecrets.vue
index 6703813..ee04609 100644
--- a/frontend/src/components/ListSecrets.vue
+++ b/frontend/src/components/ListSecrets.vue
@@ -1,6 +1,14 @@
+
+
+
+ {{ props.row.notes }}
+
+
+
+
@@ -10,7 +18,14 @@
-
+
+
+
+
+ Edit
+
+
+
@@ -42,14 +57,15 @@ export default {
const response = await fetch(url, requestOptions)
.then((response) => response.json())
.then((data) => {
- // console.log(data);
+ console.log(data);
return data;
})
.catch((err) => console.log(err));
response.forEach((element) => {
- console.log(element);
+ // console.log(element);
const row = this.parseSecret(element.data);
+ row["id"] = element["id"];
this.secretsList.push(row);
});
},
@@ -65,6 +81,10 @@ export default {
console.log(expires);
return otp;
},
+
+ handleClick(scope) {
+ console.log(scope);
+ },
},
mounted() {