Clean up field type watcher in local store

This commit is contained in:
Nicola Krumschmidt
2020-12-28 00:38:01 +01:00
parent 211898776e
commit 97211d5d69

View File

@@ -888,11 +888,9 @@ function initLocalStore(collection: string, field: string, type: typeof localTyp
break;
case 'boolean':
state.fieldData.meta.special = ['boolean'];
state.fieldData.schema.is_nullable = false;
state.fieldData.schema.default_value = false;
state.fieldData.schema.is_nullable = false;
break;
default:
state.fieldData.schema.default_value = undefined;
}
}
);