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