-
-
Notifications
You must be signed in to change notification settings - Fork 415
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Duplicated text in QR Code Activity history #314
Comments
working on this |
This wouldn't work. the names are being stored in a global array called history. If I run the condition check at the div change,the array would still be different every time because it would just contain the same name multiple times. |
Yes but instead of checking the whole array , checking the last pushed element in the array would be useful otherwise it would defeat the purpose of history. |
Hm...makes sense,I mean I probably could just let it be logged into history and run the test in the for loop that they are using to append in the div. But it would be a little less efficient since we have to check a higher number of elements every-time. On the other hand, it makes sense that history should contain everything. @llaske can we have your opinion on this? |
Closed in dd3c58d |
I think there is no use of logging the same user in the dropdown menu if he generate his qrcode again.
Here is the ex-
Here what to be expected -
The text was updated successfully, but these errors were encountered: