Skip to content

Commit

Permalink
(web admin) Fix linting errors
Browse files Browse the repository at this point in the history
  • Loading branch information
cgx committed Jan 9, 2020
1 parent e1c48a1 commit 1666e57
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions html/pfappserver/root/static.alt/src/components/pfFormChosen.vue
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ export default {
default: 'value'
}
},
errorCaptured (err, vm, info) { // capture exceptions from vue-multiselect component
errorCaptured (err) { // capture exceptions from vue-multiselect component
// eslint-disable-next-line
console.error(err)
return false // prevent error from propagating
Expand Down Expand Up @@ -186,7 +186,7 @@ export default {
if (this.collapseObject) {
const options = (!this.groupValues)
? (this.options ? this.options : [])
: this.options.reduce((options, group, index) => { // flatten group
: this.options.reduce((options, group) => { // flatten group
options.push(...group[this.groupValues])
return options
}, [])
Expand Down Expand Up @@ -233,11 +233,11 @@ export default {
const { $refs: { multiselect: { $el } = {} } = {} } = this
$el.focus()
},
onFocus (event) {
onFocus () {
this.isFocus = true
this.onSearchChange(this.inputValue)
},
onBlur (event) {
onBlur () {
this.isFocus = false
this.onSearchChange(this.inputValue)
},
Expand Down Expand Up @@ -265,7 +265,7 @@ export default {
},
watch: {
inputValue: {
handler (a, b) {
handler (a) {
this.onSearchChange(a) // prime the searchable cache with our current `inputValue`
},
immediate: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ export default {
},
watch: {
id: {
handler: function (a, b) {
handler: function () {
this.init()
}
}
Expand All @@ -104,8 +104,8 @@ export default {

<style lang="scss">
@keyframes expandheight {
from { max-height: 0px; overflow-y: hidden; }
to { max-height: 500px; overflow-y: initial; }
from { overflow-y: hidden; max-height: 0px; }
to { overflow-y: initial; max-height: 500px; }
}
.pf-network-graph-tooltip-node {
Expand Down

0 comments on commit 1666e57

Please sign in to comment.