diff options
author | Adam T. Carpenter <atc@53hor.net> | 2022-10-26 21:02:31 -0400 |
---|---|---|
committer | Adam T. Carpenter <atc@53hor.net> | 2022-10-26 21:02:31 -0400 |
commit | 9f3098e80c6b6c87e9bfbfe36239a39e5cafb29f (patch) | |
tree | db9ca419266117facecdff6d30460669f3148efb /iridescence/src/views/Admin.vue | |
parent | f243a3b7341012227d6e8342a65f9c5d7784256f (diff) | |
download | theglassyladies-9f3098e80c6b6c87e9bfbfe36239a39e5cafb29f.tar.xz theglassyladies-9f3098e80c6b6c87e9bfbfe36239a39e5cafb29f.zip |
init: add some stories and personas and begin layout out domain
Diffstat (limited to 'iridescence/src/views/Admin.vue')
-rw-r--r-- | iridescence/src/views/Admin.vue | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/iridescence/src/views/Admin.vue b/iridescence/src/views/Admin.vue deleted file mode 100644 index eedafc7..0000000 --- a/iridescence/src/views/Admin.vue +++ /dev/null @@ -1,48 +0,0 @@ -<template> - <div id="admin"> - <div class="container"> - <section class="section"> - <div class="columns"> - <div class="column is-narrow"> - <NewProduct></NewProduct> - </div> - <div class="column"> - <ProductSearch></ProductSearch> - </div> - </div> - <ProductEditList></ProductEditList> - </section> - </div> - </div> -</template> - -<script> -import NewProduct from "@/components/admin/NewProduct.vue"; -import ProductSearch from "@/components/ProductSearch.vue"; -import ProductEditList from "@/components/admin/ProductEditList.vue"; - -export default { - name: "Admin", - components: { - ProductEditList, - NewProduct, - ProductSearch - }, - beforeRouteEnter: (to, from, next) => { - if (!process.env.VUE_APP_LOGIN_URL) { - next(); - } else { - fetch(process.env.VUE_APP_LOGIN_URL).then(res => { - if (res.status == 401) { - next(false); - } else { - next(); - } - }); - } - }, - mounted() { - window.scrollTo(0, 0); - } -}; -</script> |