Getting Undefined In CreateResource from Frappe-UI

Hey Guys
I am facing error of undefined when trying to hit

frappe.desk.search.search_link

using frappe-UI createResource although when inspected network tab of chrome status of call is 200 OK and data is available in respnse tab
I have copied exact code available in frappe LMS, CRM
Controls/Link.vue

I am using version-14