Skip to content

Commit

Permalink
Fixed initialVariables config.
Browse files Browse the repository at this point in the history
  • Loading branch information
imolorhe committed Mar 9, 2019
1 parent 2970319 commit 8ddd74c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/app/reducers/variables/variables.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { Action } from '@ngrx/store';

import * as variables from '../../actions/variables/variables';
import config from 'app/config';

export interface FileVariable {
name: string;
Expand All @@ -17,7 +18,7 @@ export interface State {
}

export const initialState: State = {
variables: '{}',
variables: config.initialData.variables || '{}',
files: [],
};

Expand Down

0 comments on commit 8ddd74c

Please sign in to comment.