From 26580bc6d5522651aa4a02a617a2ef9ea7beaa65 Mon Sep 17 00:00:00 2001 From: Hayden <64056131+hay-kot@users.noreply.github.com> Date: Thu, 13 Oct 2022 16:45:03 -0800 Subject: [PATCH] add version to profile --- frontend/pages/profile.vue | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/frontend/pages/profile.vue b/frontend/pages/profile.vue index a564844..ed031a2 100644 --- a/frontend/pages/profile.vue +++ b/frontend/pages/profile.vue @@ -10,6 +10,13 @@ title: "Homebox | Profile", }); + const pubApi = usePublicApi(); + const { data: status } = useAsyncData(async () => { + const { data } = await pubApi.status(); + + return data; + }); + const { setTheme } = useTheme(); type ThemeOption = { @@ -341,6 +348,9 @@ +