fix: add optional chaining for pbsNames TypeScript error

This commit is contained in:
Pulse Monitor
2025-09-04 16:56:32 +00:00
parent fd77419cad
commit e54c7daaac
@@ -358,7 +358,7 @@ const Storage: Component = () => {
<Show when={viewMode() === 'storage'}>
<Show when={storage.pbsNames}>
<span class="text-xs text-gray-500 dark:text-gray-400">
({storage.pbsNames.sort().join(', ')})
({storage.pbsNames?.sort().join(', ')})
</span>
</Show>
<Show when={!storage.pbsNames}>