Welcome to the community
The flip-out table is a little delicate so I can see how something like that might happen. It is important to lift slightly on the table when pushing in the leg, so that the leg can swing freely without being held in place by the carpet.
I suppose one approach to repair would be to purchase a new table assembly from an Airstream dealer although I suspect that's a 1%er's solution to the problem. The glue, not the nails, has the strength in these cases -- the nails just hold the blocks in place during manufacturing until the glue cures. I would suggest scraping or sanding the remaining glue off both the table and the blocks and regluing it with Titebond, Titebond II, or a similar high-grade wood glue, using nails, clamps, or weights to hold the blocks in place until the glue cures.
To learn to see below the surface, you must adjust your altitude