Extra shelf for.cupboard (Holt Park LS16)

Extra shelf with folding legs. Part of the plastic that keeps one of the legs in place is broken (shown in photo) but still seems to work ok.