summaryrefslogtreecommitdiffstats
path: root/src/components/Properties/PropertyText.vue
diff options
context:
space:
mode:
authordependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>2019-12-08 10:22:10 +0000
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2019-12-08 17:48:12 +0100
commit213a1fc421da26a9d3852721aaf1cd3fbdc7b162 (patch)
tree3c036c4d500cc40c3eb2bbbf89943e15f6a5d24f /src/components/Properties/PropertyText.vue
parent544cc04f1608e8c0555cde50dbccd6e0e964589b (diff)
Bump eslint-config-nextcloud from 0.0.6 to 0.1.0
Bumps [eslint-config-nextcloud](https://github.com/nextcloud/eslint-config-nextcloud) from 0.0.6 to 0.1.0. - [Release notes](https://github.com/nextcloud/eslint-config-nextcloud/releases) - [Commits](https://github.com/nextcloud/eslint-config-nextcloud/compare/v0.0.6...v0.1.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Diffstat (limited to 'src/components/Properties/PropertyText.vue')
-rw-r--r--src/components/Properties/PropertyText.vue22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/components/Properties/PropertyText.vue b/src/components/Properties/PropertyText.vue
index 2d300b6f..089c47da 100644
--- a/src/components/Properties/PropertyText.vue
+++ b/src/components/Properties/PropertyText.vue
@@ -97,7 +97,7 @@ export default {
components: {
PropertyTitle,
- PropertyActions
+ PropertyActions,
},
mixins: [PropertyMixin],
@@ -106,28 +106,28 @@ export default {
propName: {
type: String,
default: 'text',
- required: true
+ required: true,
},
value: {
type: String,
default: '',
- required: true
- }
+ required: true,
+ },
},
data() {
return {
// the textarea additionnal height compared to the
// default input text. Min is 2 grid height
- noteHeight: 1
+ noteHeight: 1,
}
},
computed: {
gridLength() {
- let hasTitle = this.isFirstProperty && this.propModel.icon ? 1 : 0
- let isLast = this.isLastProperty ? 1 : 0
- let noteHeight = this.propName === 'note'
+ const hasTitle = this.isFirstProperty && this.propModel.icon ? 1 : 0
+ const isLast = this.isLastProperty ? 1 : 0
+ const noteHeight = this.propName === 'note'
? this.noteHeight
: 0
// length is one & add one space at the end
@@ -167,7 +167,7 @@ export default {
haveExtHandler() {
return this.externalHandler.trim() !== '' && this.localValue && this.localValue.length > 0
- }
+ },
},
mounted() {
@@ -198,7 +198,7 @@ export default {
updateValueNoDebounce(e) {
this.resizeGrid(e)
this.updateValue(e)
- }
- }
+ },
+ },
}
</script>