The lawsuit alleged harassment such as racial slurs and displays of racist graffiti towards Black workers.