mirror of
https://github.com/usebruno/bruno.git
synced 2024-11-25 17:33:28 +01:00
Adds fallback when no environments are defined
This commit is contained in:
parent
50e0558d7d
commit
8df6b241bb
@ -35,7 +35,7 @@ const CollectionProperties = ({ collection, onClose }) => {
|
||||
</tr>
|
||||
<tr className="">
|
||||
<td className="py-2 px-2 text-right">Environments :</td>
|
||||
<td className="py-2 px-2">{collection.environments.length}</td>
|
||||
<td className="py-2 px-2">{collection.environments?.length || 0}</td>
|
||||
</tr>
|
||||
<tr className="">
|
||||
<td className="py-2 px-2 text-right">Requests :</td>
|
||||
|
Loading…
Reference in New Issue
Block a user