While I was not expecting to see Barcelona lose this match they lost and even after Yamal got injured he wanted to stay in the team.
Now it seems he is going to be absent in the important match they are going to have with Atletico Mardid, and this can make everything harder for Flick and his players because Atletico Madrid is going to be a much harder competitor for Barcelona than Leganés.

This will be a big disaster for Barcelona, considering that Lamine Yamal is still the backbone of the attack in the front line. Against Atletico Madrid will not be easy, especially since Atletico Madrid has never lost in the last 6 matches in La Liga. This will further motivate Diego Simeone troops to continue to extend their consistency + tickets to the top of the standings.
Barcelona is currently unpredictable and inconsistent. It will be very risky to bet on Barcelona, because they don't have that strength that they started this season with. Atletico Madrid is consistent and very strong which gives them a good hedge over Barcelona. If Barcelona lose this match, it means that they might drop to the thrid position on the table.
You are correct, Barcelona is no longer unpredictable; their performance has declined significantly since the beginning of the season, and I have no idea what is wrong with them. They have key players on the team, but they are losing games to small clubs, allowing Madrid to catch up to them in the league table, as does Athletico Madrid. Flick needs to adjust his plan on the pitch because he has discovered that they have comprehended his strategy, which is why they have the chance to defeat them and lose points in the league standings. If they don't improve, I don't think they have a chance of winning the league anymore, because the way they're playing right now isn't making the fans happy and is making them disappointed. Let's see how they play against Athletico Madrid this weekend, they need to win the match so that they can continuing topping the league tables and if they fail Athletico will top league and probably Madrid win there next match Barcelona can move to third position, so they will do anything possible to win there next game.