diff --git a/src/components/lists/NewList.vue b/src/components/lists/NewList.vue index c0537ddf..6935dacb 100644 --- a/src/components/lists/NewList.vue +++ b/src/components/lists/NewList.vue @@ -17,7 +17,7 @@ @keyup.enter="newList()"/>
-
-- Please specify at least three characters. +
+ Please specify a title.
@@ -53,7 +53,7 @@ }, methods: { newList() { - if (this.list.title.length < 3) { + if (this.list.title === '') { this.showError = true return } diff --git a/src/components/lists/views/Kanban.vue b/src/components/lists/views/Kanban.vue index 406cfb91..ebd26b5f 100644 --- a/src/components/lists/views/Kanban.vue +++ b/src/components/lists/views/Kanban.vue @@ -124,8 +124,8 @@ :class="{'is-loading': taskService.loading}" /> -- Please specify at least three characters. +
+ Please specify a title.
-- Please specify at least three characters. +
+ Please specify a list title.
@@ -197,7 +197,7 @@ this.loadTasks(page, search) }, addTask() { - if (this.newTaskText.length < 3) { + if (this.newTaskText === '') { this.showError = true return } diff --git a/src/components/namespaces/NewNamespace.vue b/src/components/namespaces/NewNamespace.vue index 5290bc93..37a1da93 100644 --- a/src/components/namespaces/NewNamespace.vue +++ b/src/components/namespaces/NewNamespace.vue @@ -17,7 +17,7 @@ placeholder="The namespace's name goes here..."/>
-
- Please specify at least five characters. +
+ Please specify a title.
What's a namespace?
@@ -55,7 +55,7 @@ }, methods: { newNamespace() { - if (this.namespace.title.length <= 4) { + if (this.namespace.title === '') { this.showError = true return } diff --git a/src/components/teams/EditTeam.vue b/src/components/teams/EditTeam.vue index 2c00b9bb..a6f0d486 100644 --- a/src/components/teams/EditTeam.vue +++ b/src/components/teams/EditTeam.vue @@ -23,8 +23,8 @@ v-model="team.name"/> -- Please specify at least five characters. +
+ Please specify a name.
- Please specify at least five characters. +
+ Please specify a name.
@@ -38,7 +38,7 @@ import {IS_FULLPAGE} from '../../store/mutation-types' export default { - name: "NewTeam", + name: 'NewTeam', data() { return { teamService: TeamService, @@ -54,7 +54,7 @@ methods: { newTeam() { - if (this.team.name.length <= 4) { + if (this.team.name === '') { this.showError = true return }