Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: refresh ursadb page and add alert about successful submit #448

Merged
merged 7 commits into from
Mar 20, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
lint: prettier
mickol34 committed Mar 11, 2025
commit e9a3422436b6a0e82e5be0e1d1a64a70dc5f65ca
8 changes: 6 additions & 2 deletions src/mqueryfront/src/indexFiles/IndexPage.js
Original file line number Diff line number Diff line change
@@ -268,10 +268,14 @@ class IndexPageInner extends Component {
</div>
<div className="my-2">{`Files in queue (regardless of status): ${this.state.size}`}</div>
{this.state.newestFile && (
<div className="my-2">{`Newest file in the queue: ${this.state.newestFile.replace('T', ' ').slice(0, -7)}`}</div>
<div className="my-2">{`Newest file in the queue: ${this.state.newestFile
.replace("T", " ")
.slice(0, -7)}`}</div>
)}
{this.state.oldestFile && (
<div className="my-2">{`Oldest file in the queue: ${this.state.oldestFile.replace('T', ' ').slice(0, -7)}`}</div>
<div className="my-2">{`Oldest file in the queue: ${this.state.oldestFile
.replace("T", " ")
.slice(0, -7)}`}</div>
)}
<IndexClearQueueButton
msg="Clear queue"