fix ui remove random logs (#2029)

This commit is contained in:
Delirium 2024-04-03 12:17:59 +02:00 committed by GitHub
parent f81fd1f6c0
commit 0bc01c45c6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 0 additions and 5 deletions

View file

@ -81,7 +81,6 @@ function FilterList(props: Props) {
ev.dataTransfer.setData("text/plain", index.toString()); ev.dataTransfer.setData("text/plain", index.toString());
setDraggedItem(index); setDraggedItem(index);
const el = document.getElementById(elId); const el = document.getElementById(elId);
console.log(el, ev);
if (el) { if (el) {
ev.dataTransfer.setDragImage(el, 0, 0); ev.dataTransfer.setDragImage(el, 0, 0);
} }
@ -90,7 +89,6 @@ function FilterList(props: Props) {
const handleDrop = React.useCallback( const handleDrop = React.useCallback(
(event: Record<string, any>) => { (event: Record<string, any>) => {
event.preventDefault(); event.preventDefault();
console.log(draggedInd)
if (draggedInd === null) return; if (draggedInd === null) return;
const newItems = filters.toArray(); const newItems = filters.toArray();
const newPosition = calculateNewPosition( const newPosition = calculateNewPosition(

View file

@ -51,7 +51,6 @@ export default class Filter {
} }
replaceFilters(filters: any) { replaceFilters(filters: any) {
console.log(filters, this.filters)
this.filters = filters; this.filters = filters;
} }

View file

@ -107,7 +107,6 @@ export default class UxtestingStore {
...this.instance!, ...this.instance!,
status, status,
}; };
console.log(test);
this.updateInstStatus(status); this.updateInstStatus(status);
await this.client.updateTest(this.instance.testId!, test); await this.client.updateTest(this.instance.testId!, test);
} catch (e) { } catch (e) {

View file

@ -35,7 +35,6 @@ export default class CanvasManager extends ListWalker<Timestamp> {
private readonly getNode: (id: number) => VElement | undefined private readonly getNode: (id: number) => VElement | undefined
) { ) {
super(); super();
console.log(links);
// first we try to grab tar, then fallback to mp4 // first we try to grab tar, then fallback to mp4
this.loadTar() this.loadTar()
.then((fileArr) => { .then((fileArr) => {