From 72583eb2ec95a98199cc161057d3b1a88d7e51a6 Mon Sep 17 00:00:00 2001 From: gourav Date: Sun, 16 Jun 2024 23:19:25 +0530 Subject: [PATCH] Changed buttons to icons Savign secret now refreshes the component --- frontend/src/App.vue | 74 ++++++++++++++++++++++++++++---------------- 1 file changed, 47 insertions(+), 27 deletions(-) diff --git a/frontend/src/App.vue b/frontend/src/App.vue index 9cff7a2..0a2433f 100644 --- a/frontend/src/App.vue +++ b/frontend/src/App.vue @@ -6,23 +6,24 @@ import ListSecrets from "./components/ListSecrets.vue"; @@ -55,7 +57,7 @@ export default { apiBaseUrl: "http://localhost:8000", editDialog: false, editingSecret: {}, - timerWidth: 100, + timerWidth: 0, }; }, methods: { @@ -66,9 +68,8 @@ export default { secretSaved() { this.creationDialog = false; - console.log("before update", this.listUpdated); + this.editDialog = false; this.listUpdated += 1; - console.log("after update", this.listUpdated); }, async validateToken() { @@ -112,7 +113,7 @@ export default { }, startTimer() { - console.log("start timer called"); + // console.log("start timer called"); this.interval = setInterval(() => { const now = new Date(); const seconds = now.getSeconds(); @@ -136,17 +137,7 @@ export default { }; -