part of job queues tab done

This commit is contained in:
Henry Jameson 2025-12-03 23:05:46 +02:00
commit cdbf3f42b8
11 changed files with 232 additions and 9 deletions

View file

@ -18,6 +18,10 @@ export default {
type: [String, Array],
required: false
},
suggestions: {
type: [String, Array],
required: false
},
subgroup: {
type: String,
required: false
@ -53,6 +57,9 @@ export default {
swapDescriptionAndLabel: {
type: Boolean
},
backendDescriptionPath: {
type: [String, Array]
},
overrideBackendDescription: {
type: Boolean
},
@ -158,7 +165,7 @@ export default {
}
},
backendDescriptionSuggestions () {
return this.backendDescription?.suggestions
return this.backendDescription?.suggestions || this.suggestions
},
shouldBeDisabled () {
if (this.path == null) {
@ -228,6 +235,7 @@ export default {
},
descriptionPath () {
if (this.path == null) return null
if (this.backendDescriptionPath) return this.backendDescriptionPath
const path = Array.isArray(this.path) ? this.path : this.path.split('.')
if (this.subgroup) {
return [