snipe / snipe-it

A free open source IT asset/license management system
https://snipeitapp.com
GNU Affero General Public License v3.0
11.21k stars 3.2k forks source link

Username repeats on user display when window is resized. #12455

Closed a8bit closed 1 year ago

a8bit commented 1 year ago

Debug mode

Describe the bug

If you are on the Asset list and you resize the browser window the username of all the users on the screen gets repeated. Keep resizing, it keeps duplicating. It doesn't happen to the users' full name, just the username and it doesn't happen to assets allocated to a location. Here's a screenshot after I've resized the window a few times.

2023-02-02 12_24_09-All Assets __ Asset DB and 3 more pages - Boz - Microsoft​ Edge

Refresh the page to go back to one instance of username in the brackets.

Reproduction steps

  1. Resize the screen while the asset list is displayed.
  2. ...

Expected behavior

The screen resizes and only displays the username once.

Screenshots

2023-02-02 12_24_09-All Assets __ Asset DB and 3 more pages - Boz - Microsoft​ Edge

Snipe-IT Version

6.0.14

Operating System

Ubuntu

Web Server

Apache

PHP Version

8.1.2-1ubuntu2.10

Operating System

Windows 11

Browser

Edge

Version

109.0.1518.70 (Official build) (64-bit)

Device

No response

Operating System

No response

Browser

No response

Version

No response

Error messages

It doesn't happen in the demo version. I don't get any error messages at all .

boz@cmdb:/var/www/html/snipeit$ php -m
[PHP Modules]
bcmath
calendar
Core
ctype
curl
date
dom
exif
FFI
fileinfo
filter
ftp
gd
gettext
hash
iconv
json
ldap
libxml
mbstring
mysqli
mysqlnd
openssl
pcntl
pcre
PDO
pdo_mysql
Phar
posix
readline
Reflection
session
shmop
SimpleXML
sockets
sodium
SPL
standard
sysvmsg
sysvsem
sysvshm
tokenizer
xml
xmlreader
xmlwriter
xsl
Zend OPcache
zip
zlib

[Zend Modules]
Zend OPcache

Additional context

This is a fresh install, Ubuntu in a VM then the install script for snipe-it. Users are populated from an AD server.

snipe commented 1 year ago

This is a duplicate of #12430 and #12432 and is already fixed on master.