feat(controls): styled custom header dropdown with helptext and smart positioning (#13)
This commit is contained in:
@@ -23,6 +23,11 @@ exports.initClient = (options) => {
|
||||
})
|
||||
}
|
||||
|
||||
exports.getSpace = assert((api = `cda`) => {
|
||||
const client = api === 'cda' ? cdaClient : cpaClient
|
||||
return client.getSpace()
|
||||
}, 'Space')
|
||||
|
||||
exports.getCourses = assert((locale = 'en-US', api = `cda`) => {
|
||||
// to get all the courses we request all the entries
|
||||
// with the content_type `course` from Contentful
|
||||
|
||||
Reference in New Issue
Block a user