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

gd-sprest-react

Package Overview
Dependencies
Maintainers
1
Versions
309
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gd-sprest-react - npm Package Compare versions

Comparing version 0.2.3 to 0.2.4

6

build/components/fieldLookup.js

@@ -124,3 +124,3 @@ "use strict";

.execute(function (items) {
var defaultValue = _this.props.defaultValue ? _this.props.defaultValue : null;
var defaultValue = _this.props.defaultValue ? _this.props.defaultValue : 0;
var options = [];

@@ -139,3 +139,3 @@ // Add an empty option for single lookup fields

key: item.Id,
selected: item.Id == (defaultValue ? defaultValue.ID : 0),
selected: item.Id == (defaultValue.ID ? defaultValue.ID : defaultValue),
text: item[_this.state.fieldInfo.lookupFieldName]

@@ -149,3 +149,3 @@ };

var result = results[j];
var itemId = typeof (result) === "number" ? result : result.ID;
var itemId = result.ID ? result.ID : result;
// See if this is the current option

@@ -152,0 +152,0 @@ if (option.key == itemId) {

{
"name": "gd-sprest-react",
"version": "0.2.3",
"version": "0.2.4",
"description": "SharePoint react components.",

@@ -5,0 +5,0 @@ "main": "build/index.js",

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