Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

admin-config

Package Overview
Dependencies
Maintainers
1
Versions
50
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

admin-config - npm Package Compare versions

Comparing version 0.1.3 to 0.1.4

6

lib/Field/ReferencedListField.js

@@ -39,3 +39,7 @@ import ReferenceField from "./ReferenceField";

getSortFieldName() {
return this._targetEntity.name() + '_ListView.' + (this.sortField() || this._targetReferenceField);
if (!this.sortField()) {
return null;
}
return this._targetEntity.name() + '_ListView.' + this.sortField();
}

@@ -42,0 +46,0 @@ }

8

lib/Field/ReferenceField.js

@@ -24,3 +24,3 @@ import Field from "./Field";

datagridName() {
return this._targetEntity.name() + '_' + this._type;
return this._targetEntity.name() + '_ListView';
}

@@ -109,3 +109,7 @@

getSortFieldName() {
return this._targetEntity.name() + '_ListView.' + (this.sortField() || this._targetField.name());
if (!this.sortField()) {
return null;
}
return this._targetEntity.name() + '_ListView.' + this.sortField();
}

@@ -112,0 +116,0 @@ }

{
"name": "admin-config",
"version": "0.1.3",
"version": "0.1.4",
"private": false,

@@ -5,0 +5,0 @@ "repository": {

@@ -43,3 +43,5 @@ var assert = require('chai').assert;

.targetEntity(human)
.targetField(new Field('name'));
.targetField(new Field('name'))
.sortField('name')
.sortDir('DESC');

@@ -46,0 +48,0 @@ human

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc