extend skill length to 50
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
324203216a
commit
e035fa3289
@ -25,7 +25,7 @@ SPDX-License-Identifier: AGPL-3.0-or-later
|
|||||||
type="text"
|
type="text"
|
||||||
class="form-control form-control-sm"
|
class="form-control form-control-sm"
|
||||||
id="searchText"
|
id="searchText"
|
||||||
maxlength="25"
|
:maxlength="maxlength"
|
||||||
:placeholder="placeholder"
|
:placeholder="placeholder"
|
||||||
v-model="searchText"
|
v-model="searchText"
|
||||||
@input="search()"
|
@input="search()"
|
||||||
@ -99,7 +99,10 @@ export default {
|
|||||||
};
|
};
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
...mapState(['currentUserId'])
|
...mapState(['currentUserId']),
|
||||||
|
maxlength() {
|
||||||
|
return this.type === 'skill' ? 50 : 25
|
||||||
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
addResult(result = false) {
|
addResult(result = false) {
|
||||||
|
Loading…
Reference in New Issue
Block a user