manual lint
This commit is contained in:
parent
1654234e32
commit
1c53ac84cc
36 changed files with 204 additions and 107 deletions
|
|
@ -123,7 +123,12 @@ export default {
|
|||
this.$store.dispatch('reactWithEmoji', { id: this.status.id, emoji })
|
||||
}
|
||||
},
|
||||
doActionWrap(button, close = () => {}) {
|
||||
doActionWrap(
|
||||
button,
|
||||
close = () => {
|
||||
/* no-op */
|
||||
},
|
||||
) {
|
||||
if (
|
||||
this.button.interactive ? !this.button.interactive(this.funcArg) : false
|
||||
)
|
||||
|
|
|
|||
|
|
@ -20,7 +20,9 @@ const StatusActionButtons = {
|
|||
currentConfirmTitle: '',
|
||||
currentConfirmOkText: '',
|
||||
currentConfirmCancelText: '',
|
||||
currentConfirmAction: () => {},
|
||||
currentConfirmAction: () => {
|
||||
/* no-op */
|
||||
},
|
||||
randomSeed: genRandomSeed(),
|
||||
}
|
||||
},
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
:func-arg="funcArg"
|
||||
:get-class="getClass"
|
||||
:get-component="getComponent"
|
||||
:close="() => {}"
|
||||
:close="() => { /* no-op */ }"
|
||||
:do-action="doAction"
|
||||
@interacted="e => $emit('interacted')"
|
||||
/>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue