π A self-hostable personal dashboard built for you. Includes status-checking, widgets, themes, icon packs, a UI editor and tons more!
Vue awesomedashboarddockerhomelabhomepagemitnodejsorganizationproductivitypwaself-hostedstartpagevue
:passport_control: Adds warning msg, for when config disabled (#455)
Alicia Sykes20f231c6325f
diff --git a/src/components/Configuration/AccessError.vue b/src/components/Configuration/AccessError.vuenew file mode 100644index 00000000..4b928b3d--- /dev/null+++ b/src/components/Configuration/AccessError.vue@@ -0,0 +1,37 @@+<template>+ <div class="error">+ <p>+ Error: Configuration has been disabled on this instance.+ Please contact your administrator for more information.+ </p>+ </div>+</template>++<script>++import ErrorHandler from '@/utils/ErrorHandler';++export default {+ name: 'AccessError',+ mounted() {+ ErrorHandler('Access Error: Config has been disabled on this instance');+ },+};+</script>++<style scoped lang="scss">+.error {+ padding: 0.5rem 1rem;+ min-width: 20rem;+ width: 50%;+ margin: 2rem auto;+ cursor: default;+ text-align: center;+ font-weight: bold;+ font-size: 1.2rem;+ color: var(--warning);+ border-radius: var(--curve-factor);+ border: 1px dashed var(--warning);+ background: var(--background);+}+</style>