- fix link bot for Test Envinroment

- If invite not exist, error message
This commit is contained in:
paoloar77
2022-02-09 19:47:40 +01:00
parent b702492ec4
commit b4ad353aef
25 changed files with 67 additions and 34 deletions

View File

@@ -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 {

View File

@@ -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 {

View File

@@ -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 {

View File

@@ -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;
}

View File

@@ -425,6 +425,6 @@
</template>
<script lang="ts" src="./presentazione.ts">
</script>
<style lang="scss" scoped>
<style lang="scss">
@import './presentazione.scss';
</style>