load settings from content

This commit is contained in:
Shin'ya Ueoka 2017-10-07 22:31:37 +09:00
parent 8ff302a1f2
commit 30641f1b75
4 changed files with 25 additions and 22 deletions
src/components

View file

@ -13,7 +13,7 @@ export default class ContentInputComponent {
update() {
let settings = this.store.getState().setting.settings;
if (!settings) {
if (!settings || !settings.json) {
return;
}
let input = this.store.getState().input;