diff --git a/cateditor/src/components/CatalogInfo.vue b/cateditor/src/components/CatalogInfo.vue index c02877e..863f420 100644 --- a/cateditor/src/components/CatalogInfo.vue +++ b/cateditor/src/components/CatalogInfo.vue @@ -1,58 +1,83 @@ @@ -65,13 +90,13 @@ export default { data: () => ({ seasons: seasons, regions: regions, - isAdmin: true, // TODO + isAdmin: false, // TODO rules: { required: value => { return !!value || 'Required' }, emailRules: value => { - if (!lazyUser) { + if (!lazyUser && !value) { // signed-up user doesn't need email return true }