diff --git a/frontend/src/App.vue b/frontend/src/App.vue index 19443b7b..a8e852b6 100644 --- a/frontend/src/App.vue +++ b/frontend/src/App.vue @@ -1,28 +1,70 @@ + + diff --git a/frontend/src/Content.vue b/frontend/src/Content.vue index e0f57505..9a39a7ee 100644 --- a/frontend/src/Content.vue +++ b/frontend/src/Content.vue @@ -19,7 +19,6 @@ const API_BASE = import.meta.env.VITE_API_BASE || ""; const timer = ref(null) const setupAutoRefresh = async (autoRefresh) => { - console.log(autoRefresh) if (autoRefresh) { timer.value = setInterval(async () => { await refresh(); @@ -100,7 +99,7 @@ const newEmail = async () => { }; const getSettings = async (jwt) => { - if (typeof jwt != 'string' || jwt.trim() === '') { + if (typeof jwt != 'string' || jwt.trim() === '' || jwt === 'undefined') { return; } const response = await fetch(`${API_BASE}/api/settings`, { @@ -147,7 +146,7 @@ onMounted(async () => { Your email address is {{ address }} - Copy + Copy Please click Get New Email button to get a new email address @@ -163,12 +162,12 @@ onMounted(async () => { - + Refresh @@ -202,8 +201,4 @@ onMounted(async () => { margin-top: 10px; text-align: center; } - -.button-left { - margin-left: 10px; -} diff --git a/readme_assets/demo.png b/readme_assets/demo.png index 2b4e67ea..d1d0a0c9 100644 Binary files a/readme_assets/demo.png and b/readme_assets/demo.png differ