Update ChatPage.js

This commit is contained in:
AlphaX-Projects 2022-12-23 17:18:35 +01:00 committed by GitHub
parent 20f3ec255b
commit d650992ad2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -669,7 +669,7 @@ class ChatPage extends LitElement {
let err1string = get("chatpage.cchange24");
parentEpml.request('showSnackBar', `${err1string}`);
} else {
if (this.balance < 20) {
if (this.balance < 4) {
this.myTrimmedMeassage = ''
this.myTrimmedMeassage = trimmedMessage
this.shadowRoot.getElementById('confirmDialog').open()
@ -1096,4 +1096,4 @@ class ChatPage extends LitElement {
}
}
window.customElements.define('chat-page', ChatPage)
window.customElements.define('chat-page', ChatPage)