test git service
This commit is contained in:
parent
607a901072
commit
2069222261
|
|
@ -110,7 +110,6 @@ export async function runtimeCheckLogs(folderPath) {
|
|||
// "file_name",
|
||||
// fileName
|
||||
// );
|
||||
|
||||
//get all log of file
|
||||
// let logsDetect = await Database.rawQuery(
|
||||
// "select * from log_reports where id_file = " +
|
||||
|
|
|
|||
|
|
@ -85,11 +85,9 @@ const ManageValues = () => {
|
|||
<option value={u}>{u}</option>
|
||||
))}
|
||||
</select>
|
||||
|
||||
<input placeholder="value" style={{margin:"0 5px", width:"50%"}} onChange={(e)=>{
|
||||
setAddValue({...addValue, value: e.target.value})
|
||||
}}></input>
|
||||
|
||||
<button style={{cursor:"pointer", backgroundColor:"green", color:"white"}} onClick={async()=>{
|
||||
if(addValue.key !=="" && addValue.value!==""){
|
||||
const res = await axios.post(addKeyValue,{key: addValue.key, value: addValue.value})
|
||||
|
|
@ -107,7 +105,7 @@ const ManageValues = () => {
|
|||
<div>
|
||||
<Link to={"/logs"}> <button style={{color:"white", backgroundColor:"blue", cursor:"pointer"}}>List of detected files</button></Link>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in New Issue