Fixed unsupported methods (#3008)

main
Boris Sekachev 5 years ago committed by GitHub
parent 6c38ad0701
commit 73d7fd0b63
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -6,7 +6,7 @@ const jsonLogic = require('json-logic-js');
const { AttributeType, ObjectType } = require('./enums'); const { AttributeType, ObjectType } = require('./enums');
function adjustName(name) { function adjustName(name) {
return name.replaceAll('.', '\u2219'); return name.replace(/\./g, '\u2219');
} }
class AnnotationsFilter { class AnnotationsFilter {

@ -1,6 +1,6 @@
{ {
"name": "cvat-ui", "name": "cvat-ui",
"version": "1.16.0", "version": "1.16.1",
"lockfileVersion": 1, "lockfileVersion": 1,
"requires": true, "requires": true,
"dependencies": { "dependencies": {

@ -1,6 +1,6 @@
{ {
"name": "cvat-ui", "name": "cvat-ui",
"version": "1.16.0", "version": "1.16.1",
"description": "CVAT single-page application", "description": "CVAT single-page application",
"main": "src/index.tsx", "main": "src/index.tsx",
"scripts": { "scripts": {

@ -48,7 +48,7 @@ export default function FiltersModalComponent(props: Props): JSX.Element {
} }
}; };
const adjustName = (name: string): string => name.replaceAll('.', '\u2219'); const adjustName = (name: string): string => name.replace(/\./g, '\u2219');
const getAttributesSubfields = (): Record<string, any> => { const getAttributesSubfields = (): Record<string, any> => {
const subfields: Record<string, any> = {}; const subfields: Record<string, any> = {};

Loading…
Cancel
Save