strapi-plugin-content-manager
Advanced tools
Comparing version 3.0.0-alpha.7.3 to 3.0.0-alpha.8
@@ -38,2 +38,3 @@ /** | ||
switch (relation.nature) { | ||
case 'oneWay': | ||
case 'oneToOne': | ||
@@ -40,0 +41,0 @@ case 'manyToOne': |
@@ -162,3 +162,3 @@ /* | ||
formattedValue = moment(e.target.value, 'YYYY-MM-DD HH:mm:ss').format(); | ||
} else if (['float', 'integer', 'bigint'].indexOf(currentSchema.fields[e.target.name].type) !== -1) { | ||
} else if (['float', 'integer', 'biginteger', 'decimal'].indexOf(currentSchema.fields[e.target.name].type) !== -1) { | ||
formattedValue = toNumber(e.target.value); | ||
@@ -165,0 +165,0 @@ } |
{ | ||
"plugin.description": "Quick way to see, edit and delete the data in your database.", | ||
"plugin.description.short": "Quick way to see, edit and delete the data in your database.", | ||
"plugin.description.long": "Quick way to see, edit and delete the data in your database.", | ||
"containers.Home.pluginHeaderTitle": "Content Manager", | ||
@@ -4,0 +5,0 @@ "containers.Home.introduction": "To edit your entries go to the specific link in the left menu. This plugin doesn't have a proper way to edit settings and it's still under active development.", |
{ | ||
"plugin.description": "Visualisez, modifiez et supprimez les données de votre base de données.", | ||
"plugin.description.short": "Visualisez, modifiez et supprimez les données de votre base de données.", | ||
"plugin.description.long": "Visualisez, modifiez et supprimez les données de votre base de données.", | ||
"containers.Home.pluginHeaderTitle": "Type de contenu", | ||
@@ -4,0 +5,0 @@ "containers.Home.pluginHeaderDescription": "Créer et modifier votre type de contenu", |
@@ -80,2 +80,6 @@ const _ = require('lodash'); | ||
switch (association.nature) { | ||
case 'oneWay': | ||
acc[current] = _.get(params.values[current], this.primaryKey, params.values[current]) || null; | ||
break; | ||
case 'oneToOne': | ||
@@ -82,0 +86,0 @@ if (response[current] !== params.values[current]) { |
@@ -61,2 +61,6 @@ const _ = require('lodash'); | ||
switch (association.nature) { | ||
case 'oneWay': | ||
acc[current] = _.get(params.values[current], this.primaryKey, params.values[current]) || null; | ||
break; | ||
case 'oneToOne': | ||
@@ -63,0 +67,0 @@ if (response[current] !== params.values[current]) { |
@@ -73,3 +73,2 @@ 'use strict'; | ||
} catch(error) { | ||
console.log(error); | ||
ctx.badRequest(null, ctx.request.admin ? [{ messages: [{ id: error.message, field: error.field }] }] : error.message); | ||
@@ -76,0 +75,0 @@ } |
{ | ||
"name": "strapi-plugin-content-manager", | ||
"version": "3.0.0-alpha.7.3", | ||
"version": "3.0.0-alpha.8", | ||
"description": "A powerful UI to easily manage your data.", | ||
@@ -49,4 +49,4 @@ "engines": { | ||
"react-select": "^1.0.0-rc.5", | ||
"strapi-helper-plugin": "3.0.0-alpha.7.3" | ||
"strapi-helper-plugin": "3.0.0-alpha.8" | ||
} | ||
} |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1191037
92
7487