mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-09-21 10:43:36 +00:00
fix: add optional chaining for pbsNames TypeScript error
This commit is contained in:
@@ -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}>
|
||||
|
||||
Reference in New Issue
Block a user