mirror of
https://github.com/Luzifer/twitch-bot.git
synced 2024-12-20 11:51:17 +00:00
[editor] Add description to "Add Action" form group
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
2df98eca66
commit
8e7ab15a1c
2 changed files with 13 additions and 0 deletions
|
@ -8,6 +8,18 @@ const NANO = 1000000000
|
|||
Vue.config.devtools = true
|
||||
new Vue({
|
||||
computed: {
|
||||
addActionDescription() {
|
||||
if (!this.models.addAction) {
|
||||
return ''
|
||||
}
|
||||
|
||||
for (const action of this.actions) {
|
||||
if (action.type === this.models.addAction) {
|
||||
return action.description
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
authURL() {
|
||||
const scopes = []
|
||||
|
||||
|
|
|
@ -811,6 +811,7 @@
|
|||
<hr>
|
||||
|
||||
<b-form-group
|
||||
:description="addActionDescription"
|
||||
label="Add Action"
|
||||
label-for="ruleAddAction"
|
||||
>
|
||||
|
|
Loading…
Reference in a new issue