File tree 1 file changed +23
-0
lines changed
1 file changed +23
-0
lines changed Original file line number Diff line number Diff line change 11
11
v-if =" this.$route.path !== '/settings'"
12
12
>
13
13
<RunButton @run =" run()" />
14
+ <div class =" hide-on-wide mx-2" >
15
+ <p class =" mb-4 my-4" >
16
+ <b-tag
17
+ class =" mr-1"
18
+ v-for =" helper of config.helpers"
19
+ :key =" helper"
20
+ >
21
+ {{ helper }}
22
+ </b-tag >
23
+ </p >
24
+ </div >
14
25
</b-navbar-item >
15
26
</template >
16
27
24
35
</template >
25
36
26
37
<script >
38
+ import axios from ' axios' ;
27
39
import SettingsMenu from ' ./SettingsMenu' ;
28
40
import RunButton from ' ./RunButton' ;
29
41
import Logo from ' ./Logo' ;
@@ -36,6 +48,17 @@ export default {
36
48
default: false
37
49
}
38
50
},
51
+ data () {
52
+ return {
53
+ config: {
54
+ helpers: []
55
+ },
56
+ };
57
+ },
58
+ async created () {
59
+ const config = await axios .get (' /api/config' );
60
+ this .config = config .data ;
61
+ },
39
62
components: { SettingsMenu, RunButton, Logo },
40
63
methods: {
41
64
run () {
You can’t perform that action at this time.
0 commit comments