Skip to content

Commit

Permalink
Resolve no-ref-as-operand
Browse files Browse the repository at this point in the history
error  Must use `.value` to read or write the value wrapped by `computed()`  vue/no-ref-as-operand
  • Loading branch information
harrisony committed Jan 11, 2025
1 parent bf99ba2 commit 73a5883
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/layouts/default.vue
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,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 && !hasHiddenLatest.value && isOutdated.value);
const displayOutdatedWarning = computed(() => !isDev.value && !hasHiddenLatest.value && isOutdated.value);
// Preload currency format
useFormatCurrency();
Expand Down

0 comments on commit 73a5883

Please sign in to comment.