diff --git a/src/components/lists/NewList.vue b/src/components/lists/NewList.vue index c0537ddf2..6935dacbf 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 406cfb911..ebd26b5ff 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 5290bc930..37a1da937 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 2c00b9bb4..a6f0d4868 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.

@@ -240,7 +240,7 @@ }) }, submit() { - if (this.team.name.length <= 4) { + if (this.team.name === '') { this.showError = true return } diff --git a/src/components/teams/NewTeam.vue b/src/components/teams/NewTeam.vue index 9e161f8cb..5f18af56a 100644 --- a/src/components/teams/NewTeam.vue +++ b/src/components/teams/NewTeam.vue @@ -24,8 +24,8 @@

-

- 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 }