Update DevelopmentSection.vue

pull/2770/head
mertsincan 2022-07-07 11:32:12 +01:00
parent b18b6f0858
commit 638d132c21
1 changed files with 4 additions and 4 deletions

View File

@ -1,6 +1,6 @@
<template> <template>
<slot v-if="isProduction" /> <p v-if="isProduction">This section is under development. After the necessary tests and improvements are made, it will be shared with the users as soon as possible.</p>
<p v-else>This section is under development. After the necessary tests and improvements are made, it will be shared with the users as soon as possible.</p> <slot v-else />
</template> </template>
<script> <script>
@ -11,7 +11,7 @@
} }
}, },
mounted() { mounted() {
this.isProduction = process.env.NODE_ENV === 'development'; this.isProduction = process.env.NODE_ENV === 'production';
} }
} }
</script> </script>