[editor] Add description to "Add Action" form group

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2021-10-03 15:40:44 +02:00
parent 2df98eca66
commit 8e7ab15a1c
Signed by: luzifer
GPG key ID: 0066F03ED215AD7D
2 changed files with 13 additions and 0 deletions

View file

@ -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 = []

View file

@ -811,6 +811,7 @@
<hr>
<b-form-group
:description="addActionDescription"
label="Add Action"
label-for="ruleAddAction"
>