extend skill length to 50

This commit is contained in:
weeman 2021-11-22 20:14:45 +01:00
parent 324203216a
commit e035fa3289
Signed by untrusted user: weeman
GPG Key ID: 34F0524D4DA694A1

View File

@ -25,7 +25,7 @@ SPDX-License-Identifier: AGPL-3.0-or-later
type="text"
class="form-control form-control-sm"
id="searchText"
maxlength="25"
:maxlength="maxlength"
:placeholder="placeholder"
v-model="searchText"
@input="search()"
@ -99,7 +99,10 @@ export default {
};
},
computed: {
...mapState(['currentUserId'])
...mapState(['currentUserId']),
maxlength() {
return this.type === 'skill' ? 50 : 25
}
},
methods: {
addResult(result = false) {