From dec83dc010d5fd6f5d50b4ab5e85da258ac48123 Mon Sep 17 00:00:00 2001 From: Seth Ladygo Date: Mon, 20 May 2019 03:08:49 -0700 Subject: [PATCH] CatalogInfo: improve layout --- cateditor/src/components/CatalogInfo.vue | 133 ++++++++++++++--------- 1 file changed, 79 insertions(+), 54 deletions(-) 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 }