- fix link bot for Test Envinroment
- If invite not exist, error message
This commit is contained in:
@@ -47,7 +47,11 @@ export default defineComponent({
|
||||
}
|
||||
|
||||
function getLinkBotTelegram(): string {
|
||||
return getValDb('TELEG_BOT_LINK', false)
|
||||
if ( tools.isTest() && !process.env.DEV) {
|
||||
return getValDb('TELEG_BOT_LINK_TEST', false)
|
||||
} else{
|
||||
return getValDb('TELEG_BOT_LINK', false)
|
||||
}
|
||||
}
|
||||
|
||||
return {
|
||||
|
||||
@@ -47,7 +47,11 @@ export default defineComponent({
|
||||
}
|
||||
|
||||
function getLinkBotTelegram(): string {
|
||||
return getValDb('TELEG_BOT_LINK', false)
|
||||
if ( tools.isTest() && !process.env.DEV) {
|
||||
return getValDb('TELEG_BOT_LINK_TEST', false)
|
||||
} else{
|
||||
return getValDb('TELEG_BOT_LINK', false)
|
||||
}
|
||||
}
|
||||
|
||||
return {
|
||||
|
||||
@@ -47,7 +47,11 @@ export default defineComponent({
|
||||
}
|
||||
|
||||
function getLinkBotTelegram(): string {
|
||||
return getValDb('TELEG_BOT_LINK', false)
|
||||
if ( tools.isTest() && !process.env.DEV) {
|
||||
return getValDb('TELEG_BOT_LINK_TEST', false)
|
||||
} else{
|
||||
return getValDb('TELEG_BOT_LINK', false)
|
||||
}
|
||||
}
|
||||
|
||||
return {
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
li {
|
||||
color: darkgreen !important;
|
||||
}
|
||||
|
||||
.testo-banda {
|
||||
//background: -webkit-gradient(linear, left top, left bottom, from(#3144f0), to(transparent));
|
||||
@@ -320,7 +323,7 @@ body.mobile .landing:before {
|
||||
}
|
||||
|
||||
.mylist {
|
||||
background: #3fdaff;
|
||||
background: #ebefef;
|
||||
padding-left: 1.25rem;
|
||||
}
|
||||
|
||||
|
||||
@@ -425,6 +425,6 @@
|
||||
</template>
|
||||
<script lang="ts" src="./presentazione.ts">
|
||||
</script>
|
||||
<style lang="scss" scoped>
|
||||
<style lang="scss">
|
||||
@import './presentazione.scss';
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user