File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -474,6 +474,13 @@ export default class Configuration extends Vue {
474
474
Directories: [],
475
475
Installation: [],
476
476
},
477
+ JobStore: {
478
+ config: ' ' ,
479
+ Database: {
480
+ url: ' ' ,
481
+ file: 0
482
+ }
483
+ },
477
484
Server: {
478
485
Content: ' ./static' ,
479
486
LogLocation: { directory: ' logs/server.log' , level: ' info' },
@@ -511,6 +518,13 @@ export default class Configuration extends Vue {
511
518
created(): void {
512
519
this .$data .c = new AdabasConfig ();
513
520
this .$data .c .read ().then ((c : any ) => {
521
+ if (! c .JobStore ) {
522
+ c .JobStore = {config:" " ,Database:{url:" " ,file:0 }}
523
+ } else {
524
+ if (! c .JobStore .Database ) {
525
+ c .JobStore .Database = {url:" " ,file:0 }
526
+ }
527
+ }
514
528
this .$data .config = c ;
515
529
this .$data .originConfig = JSON .parse (JSON .stringify (c ));
516
530
});
You can’t perform that action at this time.
0 commit comments