Update file types: Add .log, remove .txt
- Support .json and .log file formats for load from disk - Better suited for log filtering expression prototyping - Remove .txt as it's not commonly used for JSON data
This commit is contained in:
@@ -119,7 +119,7 @@ function App() {
|
|||||||
const loadFromDisk = () => {
|
const loadFromDisk = () => {
|
||||||
const fileInput = document.createElement('input');
|
const fileInput = document.createElement('input');
|
||||||
fileInput.type = 'file';
|
fileInput.type = 'file';
|
||||||
fileInput.accept = '.json,.txt';
|
fileInput.accept = '.json,.log';
|
||||||
fileInput.onchange = (event) => {
|
fileInput.onchange = (event) => {
|
||||||
const file = event.target.files[0];
|
const file = event.target.files[0];
|
||||||
if (file) {
|
if (file) {
|
||||||
|
|||||||
Reference in New Issue
Block a user