public function positions(array $data = null)
    {
        if (!$this->savePosition($data)) {
            return new JsonResponse(['message' => 'Unable to save ui component positions', 500]);
        }
        $id        = array_get($data, 'current');
        $component = $this->component($id);

        return ($component instanceof JsonResponse) ? $component : $component->render();
    }