From 76351005b49f99bcfb8428c55f7d2cee535a5b1b Mon Sep 17 00:00:00 2001 From: Fabio Di Stasio Date: Fri, 13 Nov 2020 17:49:09 +0100 Subject: [PATCH] chore: update dependencies --- package.json | 6 +++--- src/renderer/components/WorkspacePropsTableRow.vue | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/package.json b/package.json index 6f91366a..70990187 100644 --- a/package.json +++ b/package.json @@ -55,7 +55,7 @@ "monaco-editor": "^0.20.0", "mssql": "^6.2.3", "mysql": "^2.18.1", - "pg": "^8.4.2", + "pg": "^8.5.1", "source-map-support": "^0.5.16", "spectre.css": "^0.5.9", "vue-i18n": "^8.22.1", @@ -77,11 +77,11 @@ "eslint-plugin-import": "^2.22.1", "eslint-plugin-node": "^11.1.0", "eslint-plugin-promise": "^4.2.1", - "eslint-plugin-standard": "^4.0.2", + "eslint-plugin-standard": "^4.1.0", "eslint-plugin-vue": "^7.1.0", "monaco-editor-webpack-plugin": "^1.9.1", "node-sass": "^5.0.0", - "sass-loader": "^10.0.4", + "sass-loader": "^10.1.0", "standard-version": "^9.0.0", "stylelint": "^13.7.2", "stylelint-config-standard": "^20.0.0", diff --git a/src/renderer/components/WorkspacePropsTableRow.vue b/src/renderer/components/WorkspacePropsTableRow.vue index 49cb7e79..23338e71 100644 --- a/src/renderer/components/WorkspacePropsTableRow.vue +++ b/src/renderer/components/WorkspacePropsTableRow.vue @@ -385,8 +385,8 @@ export default { }, editON (event, content, field) { if (field === 'length') { - if (['integer', 'float', 'binary', 'spatial', 'other'].includes(this.fieldType.group)) this.editingField = 'numLength'; - if (['string'].includes(this.fieldType.group)) this.editingField = 'charLength'; + if (['integer', 'float', 'binary', 'spatial'].includes(this.fieldType.group)) this.editingField = 'numLength'; + if (['string', 'other'].includes(this.fieldType.group)) this.editingField = 'charLength'; if (['time'].includes(this.fieldType.group)) this.editingField = 'datePrecision'; } else @@ -416,8 +416,8 @@ export default { this.localRow.datePrecision = false; if (this.fieldType.length) { - if (['integer', 'float', 'binary', 'spatial', 'other'].includes(this.fieldType.group)) this.localRow.numLength = 11; - if (['string'].includes(this.fieldType.group)) this.localRow.charLength = 15; + if (['integer', 'float', 'binary', 'spatial'].includes(this.fieldType.group)) this.localRow.numLength = 11; + if (['string', 'other'].includes(this.fieldType.group)) this.localRow.charLength = 15; if (['time'].includes(this.fieldType.group)) this.localRow.datePrecision = 0; }