Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
bakhirev committed Sep 6, 2024
1 parent e65c38c commit a0fe666
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions build/static/index.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions src/ts/components/DropZone/helpers/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ function setGlobalValue(value?: any) { // @ts-ignore
export function getStringsForParser(text: string) {
let temp = getGlobalValue();
setGlobalValue([]);
const firstText = text.slice(0, 12);
if (firstText === 'report.push(') {
const firstText = text.slice(0, 3);
if (firstText === 'rep' || firstText === 'r(f') {
try {
eval(text);
} catch (e) {
Expand Down

0 comments on commit a0fe666

Please sign in to comment.