Skip to content

Commit

Permalink
#1290 fix strict mode warnings (#1313)
Browse files Browse the repository at this point in the history
* fix s-group

* fix warnings in SUP and SRU s-group properties

* Update struct-schema.js

* fix label edit warning

* fix sdata warnings
  • Loading branch information
fedorseliankin authored Mar 9, 2022
1 parent 822bfe8 commit 5fe7118
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ const sData = {
{
key: 'FRG_STR',
title: 'MDLBG_FRAGMENT_STEREO',
type: 'object',
properties: {
type: { enum: ['DAT'] },
fieldName: {
Expand Down Expand Up @@ -65,6 +66,7 @@ const sData = {
{
key: 'FRG_COEFF',
title: 'MDLBG_FRAGMENT_COEFFICIENT',
type: 'object',
properties: {
type: { enum: ['DAT'] },
fieldName: {
Expand All @@ -86,6 +88,7 @@ const sData = {
{
key: 'FRG_CHRG',
title: 'MDLBG_FRAGMENT_CHARGE',
type: 'object',
properties: {
type: { enum: ['DAT'] },
fieldName: {
Expand Down Expand Up @@ -134,6 +137,7 @@ const sData = {
{
key: 'MLT_FRG',
title: 'KETCHER_MULTIPLE_FRAGMENT',
type: 'object',
properties: {
type: { enum: ['DAT'] },
fieldName: {
Expand Down Expand Up @@ -171,6 +175,7 @@ const sData = {
{
key: 'SB_STR',
title: 'MDLBG_STEREO_KEY',
type: 'object',
properties: {
type: { enum: ['DAT'] },
fieldName: {
Expand Down Expand Up @@ -201,6 +206,7 @@ const sData = {
{
key: 'SB_BND',
title: 'MDLBG_BOND_KEY',
type: 'object',
properties: {
type: { enum: ['DAT'] },
fieldName: {
Expand All @@ -226,6 +232,7 @@ const sData = {
{
key: 'AT_STR',
title: 'MDLBG_STEREO_KEY',
type: 'object',
properties: {
type: { enum: ['DAT'] },
fieldName: {
Expand Down Expand Up @@ -272,6 +279,7 @@ const sData = {
{
key: 'GRP_STR',
title: 'MDLBG_STEREO_KEY',
type: 'object',
properties: {
type: { enum: ['DAT'] },
fieldName: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,8 @@ export const labelEdit = {
label: {
title: 'Atom',
default: '',
type: 'string',
invalidMessage: 'Wrong atom symbol'
invalidMessage: 'Wrong atom symbol',
type: 'string'
}
}
}
Expand Down Expand Up @@ -265,6 +265,7 @@ const sgroup = {
{
key: 'SUP',
title: 'Superatom',
type: 'object',
properties: {
type: { enum: ['SUP'] },
name: {
Expand Down

0 comments on commit 5fe7118

Please sign in to comment.