avoid empty names with required

Signed-off-by: Jakob <jakob.roehrl@web.de>
This commit is contained in:
Jakob
2019-08-29 08:39:52 +02:00
parent 1c040d35be
commit 619f70b33b
2 changed files with 4 additions and 22 deletions

View File

@@ -76,8 +76,7 @@ export default {
return {
newStackTitle: '',
stack: '',
showArchived: false,
missingStackName: t('deck', 'stack title must be provided')
showArchived: false
}
},
computed: {
@@ -90,13 +89,6 @@ export default {
return 'opacity: 1.0'
}
return 'opacity: 0.3'
},
addNewStackValidation() {
if (this.newStackTitle === '') {
return false
}
return true
}
},
methods: {