forked from extern/bruno
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>
|
||||||
<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