File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -808,9 +808,6 @@ <h5 class="q-mt-none q-mb-sm">
808
808
totalfsat : function ( ) {
809
809
return LNbits . utils . formatSat ( this . totalSat )
810
810
} ,
811
- isRoundValid ( ) {
812
- return this . tipRounding > this . amount
813
- } ,
814
811
roundToSugestion ( ) {
815
812
switch ( true ) {
816
813
case this . amount > 50 :
@@ -959,7 +956,7 @@ <h5 class="q-mt-none q-mb-sm">
959
956
self . atmToken
960
957
}
961
958
this . connectionWithdraw = new WebSocket ( self . withdrawUrl )
962
- this . connectionWithdraw . onmessage = ( e ) => {
959
+ this . connectionWithdraw . onmessage = e => {
963
960
if ( e . data == 'paid' ) {
964
961
dialog . show = false
965
962
self . atmPin = null
@@ -1355,6 +1352,9 @@ <h5 class="q-mt-none q-mb-sm">
1355
1352
// active only in the the PoS mode, not in the Cart mode or ATM pin
1356
1353
if ( ! this . showPoS || this . atmBox ) return
1357
1354
1355
+ // prevent weird behaviour when setting round tip
1356
+ if ( this . tipDialog . show ) return
1357
+
1358
1358
const { key} = event
1359
1359
if ( key >= '0' && key <= '9' ) {
1360
1360
// buttons 0 ... 9
You can’t perform that action at this time.
0 commit comments