Skip to content

Commit

Permalink
fix: 🔨 quickfix status badge when status is not yet available
Browse files Browse the repository at this point in the history
  • Loading branch information
marcodarko committed Feb 3, 2024
1 parent 9e7a6ef commit 0677276
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nuxt-app/components/SourceBadge.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ let cls = ref("bg-secondary");
let text = ref("N/A");
onMounted(() => {
switch (props.status.toString()) {
switch (props?.status?.toString()) {
case "200":
text.value = "ok";
cls.value = "bg-success";
Expand Down

0 comments on commit 0677276

Please sign in to comment.