made draft-mode and source inject-able

This commit is contained in:
Henry Jameson 2023-03-21 22:46:40 +02:00
commit 2bf224e214
7 changed files with 50 additions and 84 deletions

View file

@ -22,8 +22,7 @@ export default {
computed: {
...Setting.computed,
realOptions () {
if (this.source === 'admin') {
console.log(this.backendDescriptionSuggestions)
if (this.realSource === 'admin') {
return this.backendDescriptionSuggestions.map(x => ({
key: x,
value: x,