Skip to content

Commit 8345ae7

Browse files
authored
fix(self-inspect): use correct prop name for DisplayNumberBadge (#218)
1 parent 6c4cdbe commit 8345ae7

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

packages/self-inspect/src/app/components/ClientScriptsList.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ function shortPath(path: string): string {
3737
<div v-for="[type, typeScripts] in grouped" :key="type">
3838
<div flex="~ items-center gap-2" mb1 mt2>
3939
<DisplayBadge :text="type" />
40-
<DisplayNumberBadge :value="typeScripts.length" />
40+
<DisplayNumberBadge :number="typeScripts.length" />
4141
</div>
4242
<table w-full text-sm>
4343
<thead>

packages/self-inspect/src/app/components/DocksList.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ function hasClientScript(dock: DevToolsDockEntry): boolean {
3737
<div v-for="[category, categoryDocks] in grouped" :key="category">
3838
<div flex="~ items-center gap-2" mb1 mt2>
3939
<span text-xs font-medium op50>{{ category }}</span>
40-
<DisplayNumberBadge :value="categoryDocks.length" />
40+
<DisplayNumberBadge :number="categoryDocks.length" />
4141
</div>
4242
<table w-full text-sm>
4343
<thead>

packages/self-inspect/src/app/components/RpcFunctionsList.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ const grouped = computed(() => {
8181
<div v-for="[ns, fns] in grouped" :key="ns">
8282
<div flex="~ items-center gap-2" mb1 mt2>
8383
<span font-mono text-xs op50>{{ ns }}</span>
84-
<DisplayNumberBadge :value="fns.length" />
84+
<DisplayNumberBadge :number="fns.length" />
8585
</div>
8686
<table w-full text-sm>
8787
<thead>

0 commit comments

Comments
 (0)