It’s according to what you’ll have in the truck all together. If you get it for a decent price it may be worth it if your all in price with repairs is cheaper than the truck value.
Also, you have to think of the diminished value after an accident is reported on a vehicle.