mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-09-22 13:39:35 +00:00
fix: add new row as map instead of list, bug fix due to updates
This commit is contained in:
@@ -318,7 +318,12 @@ export default function Dashboard() {
|
||||
|
||||
const addRow = () => {
|
||||
setIsNew(false);
|
||||
setData([...data, [guidGenerator(), data.length, "", "", "shared"]]);
|
||||
setData([...data, {
|
||||
id:guidGenerator(),
|
||||
key:"",
|
||||
value:"",
|
||||
type:"shared"
|
||||
}]);
|
||||
};
|
||||
|
||||
const deleteRow = (id) => {
|
||||
|
||||
Reference in New Issue
Block a user