mirror of
https://github.com/usebruno/bruno.git
synced 2024-12-31 19:21:05 +01:00
Adds fallback when no environments are defined
This commit is contained in:
commit
07ad1f9f60
@ -35,7 +35,7 @@ const CollectionProperties = ({ collection, onClose }) => {
|
|||||||
</tr>
|
</tr>
|
||||||
<tr className="">
|
<tr className="">
|
||||||
<td className="py-2 px-2 text-right">Environments :</td>
|
<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>
|
||||||
<tr className="">
|
<tr className="">
|
||||||
<td className="py-2 px-2 text-right">Requests :</td>
|
<td className="py-2 px-2 text-right">Requests :</td>
|
||||||
|
Loading…
Reference in New Issue
Block a user