mirror of
https://github.com/usebruno/bruno.git
synced 2025-01-03 04:29:09 +01:00
Order Variables alphabetically
Order variables in Variables Tab alphabetically by name
This commit is contained in:
parent
c5c343c543
commit
0c3112166b
@ -15,7 +15,7 @@ const KeyValueExplorer = ({ data = [], theme }) => {
|
||||
<SecretToggle showSecret={showSecret} onClick={() => setShowSecret(!showSecret)} />
|
||||
<table className="border-collapse">
|
||||
<tbody>
|
||||
{data.map((envVar) => (
|
||||
{data.toSorted((a, b) => a.name.localeCompare(b.name)).map((envVar) => (
|
||||
<tr key={envVar.name}>
|
||||
<td className="px-2 py-1">{envVar.name}</td>
|
||||
<td className="px-2 py-1">
|
||||
|
Loading…
Reference in New Issue
Block a user