We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 25da402 commit dd8cdffCopy full SHA for dd8cdff
app/composables/useRepoMeta.ts
@@ -762,6 +762,8 @@ export function useRepoMeta(repositoryUrl: MaybeRefOrGetter<string | null | unde
762
repoRef,
763
meta,
764
765
+ // TODO(serhalp): Consider removing the zero fallback so callers can make a distinction between
766
+ // "unresoled data" and "zero value"
767
stars: computed(() => meta.value?.stars ?? 0),
768
forks: computed(() => meta.value?.forks ?? 0),
769
watchers: computed(() => meta.value?.watchers ?? 0),
0 commit comments