test git service

This commit is contained in:
joseph le 2023-09-25 19:54:31 +07:00
parent 607a901072
commit 2069222261
2 changed files with 1 additions and 4 deletions

View File

@ -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 = " +

View 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>
);
};