fix(ui/settings): filter packages in place instead of remounting
The list was keyed on the active kind, so every switch remounted it and showed its skeleton before the same packages came back. The rows are already filtered from one read, so the keys only threw work away.
This commit is contained in:
1 file changed
+1
-1
@@ -316,7 +316,7 @@ const active = computed(() => (kinds.data.value ?? []).find((kind) => kind.kind
|
||||
</div>
|
||||
</div>
|
||||
</Tabs>
|
||||
<PackageList :key="active.kind" :kind="active.kind" :contract="active.contract" :noun="active.singular" />
|
||||
<PackageList :kind="active.kind" :contract="active.contract" :noun="active.singular" />
|
||||
</template>
|
||||
</TabsContent>
|
||||
|
||||
|
||||
Reference in new issue
Block a user