Skip to content

A continuation of HomeBox the inventory and organization system built for the Home User

fix: type error

tonyaellie8231e13127bb
diff --git a/frontend/layouts/default.vue b/frontend/layouts/default.vue
index c4f34643..be3220d5 100644
--- a/frontend/layouts/default.vue
+++ b/frontend/layouts/default.vue
@@ -143,7 +143,7 @@
const isOutdated = computed(() => current.value && latest.value && lt(current.value, latest.value));
const hasHiddenLatest = computed(() => localStorage.getItem("latestVersion") === latest.value);
- const displayOutdatedWarning = computed(() => !isDev.value && !hasHiddenLatest.value && isOutdated.value);
+ const displayOutdatedWarning = computed(() => Boolean(!isDev.value && !hasHiddenLatest.value && isOutdated.value));
const keys = useMagicKeys({
aliasMap: {