From 8428671a0acf47a4a90b6b1f39cf94401f1e5520 Mon Sep 17 00:00:00 2001 From: Shin'ya UEOKA Date: Sat, 5 Oct 2019 13:56:21 +0000 Subject: Fix form options --- src/settings/reducers/setting.ts | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/settings/reducers') diff --git a/src/settings/reducers/setting.ts b/src/settings/reducers/setting.ts index 89bf1cb..804853f 100644 --- a/src/settings/reducers/setting.ts +++ b/src/settings/reducers/setting.ts @@ -2,6 +2,7 @@ import * as actions from '../actions'; import { JSONTextSettings, FormSettings, SettingSource, } from '../../shared/SettingData'; +import { DefaultSetting } from '../../shared/settings/Settings'; export interface State { source: SettingSource; @@ -13,6 +14,7 @@ export interface State { const defaultState: State = { source: SettingSource.JSON, json: JSONTextSettings.fromText(''), + form: FormSettings.fromSettings(DefaultSetting), error: '', }; -- cgit v1.2.3